Hi!
I spent whole day to understand where this project is at. So I decided to do a summary.
There are two Home Assistant integrations for ORIGINAL EcoNet300
https://github.com/jontofront/ecoNET-300-Home-Assistant-Integration
https://github.com/pblxptr/ecoNET-300-Home-Assistant-Integration
One Home Assistant integration which pretends to be EcoNet300
https://github.com/denpamusic/homeassistant-plum-ecomax
There is Download transmission analyzer to help you read transmissions (with furnaces) https://github.com/twkrol/econetanalyze
This is for those who wants to create their python scripts and get their hands dirty with ftdi ft232 RS485 to USB (Wi-Fi adapter) cable for connecting directly to Linux.
Code currently supports furnaces:
- supply temperature (boiler)
- return temperature
- burner temperature
- boiler power
- blowing
- flame sensor
- number of ignitions
- number of linear actuator locks
- working times for 100%, 50% and 33% respectively
- feeder operation time
- amount of fuel burned
- number of ignitions
Unknown if EcoSol 301 is possible to be read as it has one module (no data sending / no data to intercept)
Install flup,lighttpd (plus mods: auth, authn_file, fastcgi)
Connecting RS485 A to + and - to - (or g2 on A)
You can try to read data with these parameters
baudrate = 115200,
bytesize = EIGHTBITS,
parity = PARITY_NONE,
stopbits = STOPBITS_ONE,
timeout = 1,
xonxoff = False,
rtscts = False,
dsrdtr = False
PROTOCOL IS ST-IGG-0207: 2015
Choose configuration from there at the moment:
The protocol is declared in the file /www/econet/config.py
em - ecomax
gm3 - SOL
gm3_pomp - and some heat pumps
View python how to send/receive example:
https://www.elektroda.com/rtvforum/topic3346727-450.html#20395176
correction for it
https://www.elektroda.com/rtvforum/topic3346727-480.html#20830590
There is a small error in the code here. There should be an asterisk before /1, I don't know why, but the forum script ignores it and doesn't show it.
*/1 * * * * python........ that's how it should be.
Download On/Off script "on-off-econet.zip" in this forum
Find ecomax.py file
Find function parseCurrentData at the end add print (self.data)
After running the whole thing (i.e. the fcgi_srv.py file) it writes all data to controller.
settings.py, there are functions for setting up communication with their servers.
Allows only viewing info form boiler (possibly solarthermal controller)
make a local "Clone"
Buy:
1x USB to ftdi ft232 RS485 cable RS486 based conwerter with rs485 output to USB
or
1x ELFIN TPC IP Function RJ45 RS485 to WIFI Serial Server (aliexpress item 4000533274909)
Confirmed cables to work:
https://www.digitus.info/de/produkte/computer...riegeraete/seriell-parallel-adapter/da-70157/
alledrogo offer number 7126998882
1x TP link MR-3020-v3 (They ship with v3.20)
Not all tplink with a USB port can be used (then you need to redo the references to the LEDs)
Their MAC addresses seems to allow them to connect to with less problems
Download old OpenWrt
https://downloads.openwrt.org/snapshots/targe...plink_tl-mr3020-v3-squashfs-tftp-recovery.bin
Do not upload newer openwrt because it may not work.
Flash TP link to official OpenWRT (from v.18.06 with LuCi GUI)
download ecoNET300 .bin file from post #96. with root password. root_eco.bin - firmware-mod-kit with the root scripts: root
If that does not work try these instructions:
https://www.elektroda.com/rtvforum/topic3346727-480.html#20794660
1st - Connect TPLink device to PC via ethernet. Assign static IP 192.168.0.225/24 to your PC
2nd - Use tftp to upload openwrt recovery file to TPLink.
3rd - While still connected to TPLink via ethernet, change you PC IP to DHCP, or 192.168.1.2/24. You will probably have no GUI on the Econet, that's ok.
4th - Use WinSCP to send the Econet firmware from post #64 (I think that's the one) to TPLink (192.168.1.1 root:root), use for example folder /tmp/.
5th - Use SSH (Putty for ex.) and run the following command to force the update:
cd /tmp/
sysupgrade -v -F /tmp/XXX.bin
6th - If you want a EcoNet 300 that's it. Connect Econet to you router via ethernet, login to your router and see what's Econet IP and login to it.
7th - If you want a EcoNet SOL, proceed to replace the content of /www/ folder with the files extracted from the @seba18 post. Use WinSCP in SCP mode.
Important note WiFI - SID distinguishes upper and lowercase.
Login into TP-Link - Choose upgrade. Substute new .bin file with this and update.
When a message pops up "that the file does not match"
Choose "continue anyway" option (confirm all warnings)
After restart TP link router should show as as econet300.
You can't log in into PLUM servers as it requires MAC+soft=authorization.
You can try to use this to send data to your home assistant server by changing python scripts to redirect connection to your HomeAssistant server and Mqtt
Additional info
forum.info-ogrzał.pl
Passwords GAZ-MODEM, GAZ-MODEM 2, GAZ-MODEM 3
ftp site: /plumconnect.net login and password are needed, which is embedded in the firmware+MAC
https://openwrt.org/docs/guide-user/additional-software/imagebuilder
I think I will try Linux and RS485 - Wi-Fi route with Home Assistant pretending to be ecoNet300.
Good luck and have fun!
Added after 18 [minutes]:
>>18632110
Hi, @domadm !
Did you manage to find out if EcoNet works with EcoNet <-> RS485 to Wi-Fi adapter <-> computer at all?
I can not find Wi-Fi adapter with ftdi chip, so I have a question.
Is it smart to look for RS458 to Wi-Fi adapter at all?
I spent whole day to understand where this project is at. So I decided to do a summary.
There are two Home Assistant integrations for ORIGINAL EcoNet300
https://github.com/jontofront/ecoNET-300-Home-Assistant-Integration
https://github.com/pblxptr/ecoNET-300-Home-Assistant-Integration
One Home Assistant integration which pretends to be EcoNet300
https://github.com/denpamusic/homeassistant-plum-ecomax
There is Download transmission analyzer to help you read transmissions (with furnaces) https://github.com/twkrol/econetanalyze
This is for those who wants to create their python scripts and get their hands dirty with ftdi ft232 RS485 to USB (Wi-Fi adapter) cable for connecting directly to Linux.
Code currently supports furnaces:
- supply temperature (boiler)
- return temperature
- burner temperature
- boiler power
- blowing
- flame sensor
- number of ignitions
- number of linear actuator locks
- working times for 100%, 50% and 33% respectively
- feeder operation time
- amount of fuel burned
- number of ignitions
Unknown if EcoSol 301 is possible to be read as it has one module (no data sending / no data to intercept)
Install flup,lighttpd (plus mods: auth, authn_file, fastcgi)
Connecting RS485 A to + and - to - (or g2 on A)
You can try to read data with these parameters
baudrate = 115200,
bytesize = EIGHTBITS,
parity = PARITY_NONE,
stopbits = STOPBITS_ONE,
timeout = 1,
xonxoff = False,
rtscts = False,
dsrdtr = False
PROTOCOL IS ST-IGG-0207: 2015
Choose configuration from there at the moment:
The protocol is declared in the file /www/econet/config.py
em - ecomax
gm3 - SOL
gm3_pomp - and some heat pumps
View python how to send/receive example:
https://www.elektroda.com/rtvforum/topic3346727-450.html#20395176
correction for it
https://www.elektroda.com/rtvforum/topic3346727-480.html#20830590
There is a small error in the code here. There should be an asterisk before /1, I don't know why, but the forum script ignores it and doesn't show it.
*/1 * * * * python........ that's how it should be.
Download On/Off script "on-off-econet.zip" in this forum
Find ecomax.py file
Find function parseCurrentData at the end add print (self.data)
After running the whole thing (i.e. the fcgi_srv.py file) it writes all data to controller.
settings.py, there are functions for setting up communication with their servers.
Allows only viewing info form boiler (possibly solarthermal controller)
make a local "Clone"
Buy:
1x USB to ftdi ft232 RS485 cable RS486 based conwerter with rs485 output to USB
or
1x ELFIN TPC IP Function RJ45 RS485 to WIFI Serial Server (aliexpress item 4000533274909)
Confirmed cables to work:
https://www.digitus.info/de/produkte/computer...riegeraete/seriell-parallel-adapter/da-70157/
alledrogo offer number 7126998882
1x TP link MR-3020-v3 (They ship with v3.20)
Not all tplink with a USB port can be used (then you need to redo the references to the LEDs)
Their MAC addresses seems to allow them to connect to with less problems
Download old OpenWrt
https://downloads.openwrt.org/snapshots/targe...plink_tl-mr3020-v3-squashfs-tftp-recovery.bin
Do not upload newer openwrt because it may not work.
Flash TP link to official OpenWRT (from v.18.06 with LuCi GUI)
download ecoNET300 .bin file from post #96. with root password. root_eco.bin - firmware-mod-kit with the root scripts: root
If that does not work try these instructions:
https://www.elektroda.com/rtvforum/topic3346727-480.html#20794660
1st - Connect TPLink device to PC via ethernet. Assign static IP 192.168.0.225/24 to your PC
2nd - Use tftp to upload openwrt recovery file to TPLink.
3rd - While still connected to TPLink via ethernet, change you PC IP to DHCP, or 192.168.1.2/24. You will probably have no GUI on the Econet, that's ok.
4th - Use WinSCP to send the Econet firmware from post #64 (I think that's the one) to TPLink (192.168.1.1 root:root), use for example folder /tmp/.
5th - Use SSH (Putty for ex.) and run the following command to force the update:
cd /tmp/
sysupgrade -v -F /tmp/XXX.bin
6th - If you want a EcoNet 300 that's it. Connect Econet to you router via ethernet, login to your router and see what's Econet IP and login to it.
7th - If you want a EcoNet SOL, proceed to replace the content of /www/ folder with the files extracted from the @seba18 post. Use WinSCP in SCP mode.
Important note WiFI - SID distinguishes upper and lowercase.
Login into TP-Link - Choose upgrade. Substute new .bin file with this and update.
When a message pops up "that the file does not match"
Choose "continue anyway" option (confirm all warnings)
After restart TP link router should show as as econet300.
You can't log in into PLUM servers as it requires MAC+soft=authorization.
You can try to use this to send data to your home assistant server by changing python scripts to redirect connection to your HomeAssistant server and Mqtt
Additional info
forum.info-ogrzał.pl
Passwords GAZ-MODEM, GAZ-MODEM 2, GAZ-MODEM 3
ftp site: /plumconnect.net login and password are needed, which is embedded in the firmware+MAC
https://openwrt.org/docs/guide-user/additional-software/imagebuilder
I think I will try Linux and RS485 - Wi-Fi route with Home Assistant pretending to be ecoNet300.
Good luck and have fun!
Added after 18 [minutes]:
>>18632110
Hi, @domadm !
Did you manage to find out if EcoNet works with EcoNet <-> RS485 to Wi-Fi adapter <-> computer at all?
I can not find Wi-Fi adapter with ftdi chip, so I have a question.
Is it smart to look for RS458 to Wi-Fi adapter at all?