ESPeasy not that easy?
Moderators: grovkillen, Stuntteam, TD-er
Re: ESPeasy not that easy?
@CoolRemote
Did you manage to flash ESPeasy on Sonoff already?
I´m stucked at the moment. Last option for me is to check with my friend all my connections If are wired correctly and also tried laboratory power supply with exact 3.3v with 1A.
Did you manage to flash ESPeasy on Sonoff already?
I´m stucked at the moment. Last option for me is to check with my friend all my connections If are wired correctly and also tried laboratory power supply with exact 3.3v with 1A.
Re: ESPeasy not that easy?
I have , yes.
I got bored with it, so I also flashed microPython on it.
All they are is an ESP8266 with a few extra bits added.
I am also considering upgrading the memory from 1MB to 4MB as I have with my other ESP8266-01's
but the flash chip is in between components and I am a bit clumsy with my hot air station and need
to be more careful.
I have good results when programming the ESP's, rarely any errors.
I got bored with it, so I also flashed microPython on it.
All they are is an ESP8266 with a few extra bits added.
I am also considering upgrading the memory from 1MB to 4MB as I have with my other ESP8266-01's
but the flash chip is in between components and I am a bit clumsy with my hot air station and need
to be more careful.
I have good results when programming the ESP's, rarely any errors.
ESP32, Arduino's,Raspberry Pi's, ESP8266's, Nextion's, Sonoff's, LightWaveRF's, RFXCom 433, and a headache
And a HackRF One, as a present to myself.
And a HackRF One, as a present to myself.
Re: ESPeasy not that easy?
OOps, sorry, I think I answered a message to someone else, apologies
ESP32, Arduino's,Raspberry Pi's, ESP8266's, Nextion's, Sonoff's, LightWaveRF's, RFXCom 433, and a headache
And a HackRF One, as a present to myself.
And a HackRF One, as a present to myself.
-
- Normal user
- Posts: 47
- Joined: 17 Jan 2017, 15:27
- Location: Groningen (Nederland)
Re: ESPeasy not that easy?
vojtishek, I have been trying again and without succes. Wiring is correct. I am using two AA batteries at the moment since I did not manage yet to have the lab power supply ready, but when I read your experience it looks like that won't help either.
A few posts back I have written down all the steps I went through, can someone verify if there are mistakes made in that?
Later today I am going to try again.
A few posts back I have written down all the steps I went through, can someone verify if there are mistakes made in that?
Later today I am going to try again.
Re: ESPeasy not that easy?
Are you sure the ttl converter is working ?
Connect the RX to TX pin on the converter and use a comms program to check if it loops back
Connect the RX to TX pin on the converter and use a comms program to check if it loops back
ESP32, Arduino's,Raspberry Pi's, ESP8266's, Nextion's, Sonoff's, LightWaveRF's, RFXCom 433, and a headache
And a HackRF One, as a present to myself.
And a HackRF One, as a present to myself.
Re: ESPeasy not that easy?
And I have just tried the AA batteries, it doesn't boot. So that's out of the window 

ESP32, Arduino's,Raspberry Pi's, ESP8266's, Nextion's, Sonoff's, LightWaveRF's, RFXCom 433, and a headache
And a HackRF One, as a present to myself.
And a HackRF One, as a present to myself.
-
- Normal user
- Posts: 47
- Joined: 17 Jan 2017, 15:27
- Location: Groningen (Nederland)
Re: ESPeasy not that easy?
It took me a bit, but I am here and back with an update. Since the very first time it seems the flash was done correct and the Sonoff was working. I have been following the video I mentioned before and the flash was done correct and I could have done the setup of the Sonoff.
However.....on the devices I used I could NOT see the Sonoff showing up in the list, no matter what I did.
I decided to take another mobile phone and do a wifi scan with that, and voila, in the first scan the Sonoff was there, online.
For some reasons I have been strugling all this time with just that it didn't show up at the network list.
Anyways. Now I can move on with adding it to the Domoticz. Are there clear and simple instructions for that too?
Several people say that this is easy. I am excited to move on now I know that it was working all the time.
Suggestion for other ones who read this, try a different phone or tablet and it might show up anyways in your network list.
I look forward for the next step to add it to Domoticz.
However.....on the devices I used I could NOT see the Sonoff showing up in the list, no matter what I did.
I decided to take another mobile phone and do a wifi scan with that, and voila, in the first scan the Sonoff was there, online.
For some reasons I have been strugling all this time with just that it didn't show up at the network list.
Anyways. Now I can move on with adding it to the Domoticz. Are there clear and simple instructions for that too?
Several people say that this is easy. I am excited to move on now I know that it was working all the time.
Suggestion for other ones who read this, try a different phone or tablet and it might show up anyways in your network list.

I look forward for the next step to add it to Domoticz.

Re: ESPeasy not that easy?
Ok, quick & dirty:
In Domoticz:
Go to Setup -> Hardware, Select 'Dummy' from the drop down list and click add.
Then, after the page reloads, you'll see the new dummy hardware in your list.
Click on 'Create Virtual Sensors', enter name and choose your type.
Go to Setup -> Devices and search for your newly created device.
Note down the IDX value.
Open the the device page of your sonoff and enter the IDX in the according device.
Go to the config page of your sonoff device.
Enter the IP of your domoticz server in the 'Controller IP' Field, choose 'Domoticz HTTP' as protocol
That's it.
In Domoticz:
Go to Setup -> Hardware, Select 'Dummy' from the drop down list and click add.
Then, after the page reloads, you'll see the new dummy hardware in your list.
Click on 'Create Virtual Sensors', enter name and choose your type.
Go to Setup -> Devices and search for your newly created device.
Note down the IDX value.
Open the the device page of your sonoff and enter the IDX in the according device.
Go to the config page of your sonoff device.
Enter the IP of your domoticz server in the 'Controller IP' Field, choose 'Domoticz HTTP' as protocol
That's it.
-
- Normal user
- Posts: 47
- Joined: 17 Jan 2017, 15:27
- Location: Groningen (Nederland)
Re: ESPeasy not that easy?
Thank you Data.
I managed to enter two Sonoff modules. In both I entered new credentials like SSID and new pasword. However the SSID for both remains ESP_0 and ESP_1, I confirmed all the steps with "Submit" which was accepted without any error. Also I did enter the other Domoticz details you told me to enter into those fields.
I adjusted the LED settings to GIO13, also submitted, but none of the LED's work.
I guess since the SSID is not updating to the new network names I gave the Sonoff modules I also can not connect it to Domoticz.
I managed to enter two Sonoff modules. In both I entered new credentials like SSID and new pasword. However the SSID for both remains ESP_0 and ESP_1, I confirmed all the steps with "Submit" which was accepted without any error. Also I did enter the other Domoticz details you told me to enter into those fields.
I adjusted the LED settings to GIO13, also submitted, but none of the LED's work.
I guess since the SSID is not updating to the new network names I gave the Sonoff modules I also can not connect it to Domoticz.
Re: ESPeasy not that easy?
Hi,
so I was finally succesfull. My problem was bad solder job, after resoldering flashed without any problem. 3.3V and 120mA is enough to program device.
Configuration of Domoticz was easy without any problem.
This is how looks success via flashcmd from ESPeasy
so I was finally succesfull. My problem was bad solder job, after resoldering flashed without any problem. 3.3V and 120mA is enough to program device.
Configuration of Domoticz was easy without any problem.
This is how looks success via flashcmd from ESPeasy

Code: Select all
Comport (example 3, 4, ..) :3
Flash Size (example 512, 1024, 4096) :1024
Build (example 71, 72, ..) :120
Using com port: 3
Using bin file: ESPEasy_R120_1024.bin
esptool v0.4.6 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to nodemcu
setting baudrate from 115200 to 115200
setting port from COM1 to COM3
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
stat ESPEasy_R120_1024.bin success
setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_open
Uploading 411264 bytes from ESPEasy_R120_1024.bin to flash at 0x00000000
erasing flash
size: 064680 address: 000000
first_sector_index: 0
total_sector_count: 101
head_sector_count: 16
adjusted_sector_count: 85
adjusted_size: 055000
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
setting serial port timeouts to 10000 ms
setting serial port timeouts to 1000 ms
espcomm_send_command: receiving 2 bytes of data
writing flash
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
..
starting app without reboot
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
espcomm_send_command: receiving 2 bytes of data
closing bootloader
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
Pokračujte stisknutím libovolné klávesy...
Re: ESPeasy not that easy?
@CoolRemote
If you have problems with adding to Domoticz. Make sure you add correct address into controller ip address in settings of espeasy. Then do not forget to fill in password If your domoticz is protected by password.
Then add dummy device in settings technical...and add virtual device Switch. Do not forget to match idx with espeasy.
Then go to Switches tab and settings for new switch. Change Icon for Generic ON/OFF switch and use this link for
turn on action: http://<ESPeasy IP adress>/control?cmd=GPIO,12,1
turn off action:http://<ESPeasy IP adress>/control?cmd=GPIO,12,0
If you will have still troubles, then I can make some screens or you can provide yours to find an issue.
Cheers
Vojta
If you have problems with adding to Domoticz. Make sure you add correct address into controller ip address in settings of espeasy. Then do not forget to fill in password If your domoticz is protected by password.
Then add dummy device in settings technical...and add virtual device Switch. Do not forget to match idx with espeasy.
Then go to Switches tab and settings for new switch. Change Icon for Generic ON/OFF switch and use this link for
turn on action: http://<ESPeasy IP adress>/control?cmd=GPIO,12,1
turn off action:http://<ESPeasy IP adress>/control?cmd=GPIO,12,0
If you will have still troubles, then I can make some screens or you can provide yours to find an issue.
Cheers
Vojta
Who is online
Users browsing this forum: No registered users and 45 guests