Page 1 of 1

Sonoff programming in bulk

Posted: 24 Aug 2017, 13:21
by femuruy
Hi guys, i went crazy and decided to add + 20 or 30 sonoff simple to my domoticz setup, the first batch of 10 are working like a charm w V120 but was wondering if it's ok if i modify the source and pre-add my wifi info and other stuff to speed up adding the 20 or 30 more i want in bulk? If so... what src files i have to edit and how do i get the img file to keep using esptool to upload it?

Thanks in advance for your time!

Re: Sonoff programming in bulk

Posted: 24 Aug 2017, 13:42
by grovkillen

Re: Sonoff programming in bulk

Posted: 24 Aug 2017, 15:08
by femuruy
Brillant :) need one more thing.... is there any way to control theese guys in domoticz by dhcp or i need to manually assign a fix ip for each node?

Thanks in advance!!!!!

Re: Sonoff programming in bulk

Posted: 24 Aug 2017, 18:26
by grovkillen
You would want to use MQTT for that. Search the forum and you'll find many uses of the plugin MQTT Import.

A more generic way might be on the horizon though:
https://github.com/letscontrolit/ESPEasy/issues/378