Page 1 sur 1
G2 230ACX via openHAB/MQTT
Publié : lun. mai 21, 2018 9:49 pm
par Thorhammer
Hello Forum,
sorry if I have to write in English, because I donŽt speak french.
This is my setup:
Mower:230ACX
Modul:usr-wifi232-t
I can contol the mower via "Tweak Automower PC". Now i want to integrate the AM in my home automation system (openHAB/MQTT). So one of you has already realized that?
Thx in advance and best regards
Thor
G2 230ACX via openHAB/MQTT
Publié : lun. mai 21, 2018 10:41 pm
par chercheur
Yes ! "Razmoket" did !
More info here : [url http://automower-fans.les-forums.com/topic/6000/une-api-sur-nos-g2-via-wifi/]
G2 230ACX via openHAB/MQTT
Publié : lun. mai 21, 2018 11:17 pm
par Thorhammer
hi chercheur,
great, thanks for your fast replay. As far my translater works, thats what iŽm looking for ;-). But how did he do this? I am very familiar with openHAB and MQTT, but I have no idea how to get the AM communication with the MQTT.
He mentioned the he has developed an "tondeuse virtuelle" / "virtual mower". Like a openHAB Binding?
Sorry, iŽve so many questions.
best regards
Thor
G2 230ACX via openHAB/MQTT
Publié : mar. mai 22, 2018 12:37 am
par chercheur
Yep. We worked on this "together" and a generic "how to" document is on its way.
The project includes the creation of a WIFI module (ESP8266) in the mower. The data collection happens on that module as well as the MQTT connection.
G2 230ACX via openHAB/MQTT
Publié : mar. mai 22, 2018 10:55 am
par Thorhammer
ok, very cool.
So youŽll then have a hardware and a software part. Is it possible to use the module (usr-wifi232-t) that i already have in the AM?
G2 230ACX via openHAB/MQTT
Publié : mar. mai 22, 2018 4:58 pm
par chercheur
No. The embedded module takes care of the MQTT postings.
G2 230ACX via openHAB/MQTT
Publié : mar. mai 22, 2018 10:32 pm
par Razmoket
In a nutshell: An embedded module in the AM takes care of all the messaging part to AM, using Husqvarna proprietary protocol . The module communicates to a local MQTT server on a pi. OpenHAB binds items to MQTT topics, and presents info + links it to external services (push notifications, meteo, ...)
To implement it you need an ESP8266 module, an attiny85 and some basic soldering skills + a raspberry pi
The virtual mower is something else: a small module which emulates the serial communication of an AM, to allow me to test communication on my desk, without the mower (lack of space) and only install the module in the AM when the solution is debugged
G2 230ACX via openHAB/MQTT
Publié : mar. mai 22, 2018 10:53 pm
par Thorhammer
Hello Razmoket,
this sound very good.
OK what iŽve is: ESP8266 module, soldering skills, Raspberry pi3 with MQTT, openHAB and some other stuff on the PI.
pls correct me if iŽm wrong. So you hand out an howto (solder the Module(also what to buy, recommendation), implement MQTT communication and so on) right?
best regards
Thor
G2 230ACX via openHAB/MQTT
Publié : mer. mai 23, 2018 1:22 am
par Razmoket
Hello
"How to" is mostly related to the configuration of Raspberry and implementation in local network. Which you already did.
And for ESP8266, as you already have one, you should be able to flash an hex in.
So...let's discuss in MP for special instruction for you.
G2 230ACX via openHAB/MQTT
Publié : mer. mai 23, 2018 11:37 am
par Thorhammer
Hello Razmoket,
thank you very much for the kind support.
best regards
Thor
G2 230ACX via openHAB/MQTT
Publié : sam. juin 02, 2018 12:30 pm
par guiohm
Too bad you choose to continue the discussion privately. It would have been instructive as I might try this kind of things in some time.
G2 230ACX via openHAB/MQTT
Publié : dim. juin 03, 2018 6:03 pm
par Razmoket
Hello Guiohm
Discussion is open on "realisation des améliorations" section.