Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


Shelly1 Relay - Tasmota flashing and Integration


AutoFrank

Recommended Posts

Flashing with Tasmota


Software
ESPEasy
•    Download here

Please login or register to see this link.


•    I used ESPEasy_mega-20190406.zip from the Assets list
•    Download and extract to folder
•    Running FlashESP8266.exe will display the simple UI

 

Please login or register to see this image.

/monthly_2019_04/image.png.58a425f24fa59aa23d70a3333d539c95.png" />


Toasmota bin file
•    Tasmota Wiki page -

Please login or register to see this link.


•    Download here

Please login or register to see this link.


•    Get latest Sonoff.bin file (I used 6.5.0)
•    Drop into same folder as ESPEasy and it shows up in Firmware drop down list

 

Hardware
Lots of diagrams on web to connect so won’t post more here 
My setup is breadboard, FTDI232 (USB to serial adapter) & some connectors (notice floating lead for GOPI0

 

image.png.373b91ea9699a5cf8dbb4ae202767367.png


Connect Shelly1, 

Connect GPIO0 to gnd (TX-RX cross connected) and connect FTDI232 to PC. (DO NOT CONNECT ANY MAINS POWER-IF NOT SURE THEN STOP NOW)

 

Please login or register to see this link.

 

Launch ESPEasy, select sonoff.bin and correct COM port and Flash. It should take <30 seconds. 
Disconnect from PC, disconnect GPIO) lead and reconnect to PC to power back on. 
Use phone to connect to Shelly1 hotspot (normally SSID something like sonoff-1254), add your SSID and PW in Configuration-Configure Wifi. Slect Shelly 1 (46) in Configuration-Configure Module and do the same in Configure-Template (for Based on dropdown)
Save as you go and reboot at end. Connect to Web Interface at device IP address and browser. You can use Fing or Advanced IP Scanner to find IP address. It will show up as Sonoff-xxxx Hostname 

 

Install Shelly1 Module
Use of the many wiring diagrams available and install safely.
I 3D printed some DIN rail holders as some of mine are in a consumer unit – Either of these should work
•   

Please login or register to see this link.


•   

Please login or register to see this link.


Shelly1 is approx. same size as Fibaro Relay device

 

image.png.33f9f05ad482a86fa2b08e8d87388efc.png


HC2 Integration
•    Import VD, add Port 80 and your device IP Address (web as no MQTT support)
•    Simple code here. I used a global to track status of switch so I can check/trigger from it. VD main loop lines 12 and 16 control this. Modify/Comment out as required

BenchLights.vfib


I also created a VD that uses a hometable entry to track the IP address as my collection of wifi devices are growing
Hometable entry I use is as follows

Please login or register to see this code.


VD using hometable entry 

CeilingLight.vfib

Please login or register to see this attachment.

Please login or register to see this attachment.

Edited by AutoFrank
  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...