BrettSheleski / SmartThingsPublic

36 stars 23 forks source link

Unable to Setup Sonoff Basic #29

Open christianzappa opened 5 years ago

christianzappa commented 5 years ago

Hi Brett

I followed your steps down to the T. I even read through a few issues that have been reported that appeared to be similar.

I'm sadly not getting the Child Device spawn after creating a device and setting the IP/Username/Password.

Any help is much appreciated. Sonoff Basic (Flash today) and Smartthings Hub V2.

dvanderb commented 5 years ago

Just had this issue too. It's likely that the the device module #(especially if you are using a custom template) doesn't match with anything in this list: https://github.com/BrettSheleski/SmartThingsPublic/blob/master/devicetypes/brettsheleski/tasmota.src/tasmota.groovy#L200

I had to add case 0: at the top to match into the -Power module for smart plugs to get it ti spawn the child device.

BrettSheleski commented 5 years ago

Great. I wonder if the module numbers changed again with a later version of Tasmota. That's happened before.

I may have to check the firmware version prior to checking the module number.

rhamblen commented 4 years ago

Please note... case 0 can be used by ANY custom template.
The current list for the case numbers is in the wiki - see templates (very end) or modules section. The mini is currently a custom template. (and for reference as there is a note in the code... 44 is still ifan02 and 71 is for ifan03) https://github.com/arendst/Sonoff-Tasmota/wiki/Modules