Hi, could you write how you get AP working?
Great work! I used it with Floureon and it worked perfectly.
Tried with the T12-01 but unfortunately it didnât work. It looks like there is no port open on the device itself so itâs probably subscribed to a service. From some packet sniffing it looks like it sends JSON to AWS but I havenât been able to find out exactly what it or the App sends.
I could get it into AP mode by just letting it sit there for about a minute.
It would then provide a wireless AP THERM###
Itâs this one Floureon Thermostat
This is what a registration messages looks like
{âversionâ:â3.1â,âThing_Typeâ:"_THERMOSTAT",
âThing_Nameâ:âth12-001-xx-xx-xx-xx-xx-xxâ,
âSub_Typeâ:âth12-001â,
âRegion_Infoâ:âeu-central-1â,
âIdentity_Idâ:âeu-central-1:42ea5a21-xxxx-xxxx-xxxx-xxxxxxxxxxxxâ,
âFirmware_Versionâ:â3.1.1relâ,
âHistory_Device_Accountâ:ânullâ,
âLast_Thing_Nameâ:âth12-001-xx-xx-xx-xx-xx-xxâ,
âLast_Region_Infoâ:âeu-central-1â,
âLast_APP_Infoâ:âWeBackâ
}
I paired it with their app first, only then tried with python broadlink.
Iâm using this one.
What app were you using to connect to it?
Mine uses the WeBack app.
Thanks for that. Unfortunately it looks like mine is using a different setup.
I hope you will find a way to configure it.
If you figure it out eventually please keep us updated.
Hi all. I have installed three of these, and theyâre great so far, apart from the step setting being 1.5C.
This means that I set the temperature to 21C (Auto) but on switches when it gets to 19.5C. I think it also switches off when it gets to 22.5⊠Iâd prefer a 0.5C step
Does anyone know if itâs possible to change this setting some how?
Thanks in advance!
Joel
Can you explain how you do it?
Hi @DennisVonDerBey
Can you provide more details?
I am trying to connect to this device
IWhen starting âpython2.7 broadlink-thermostat.pyâ in Python 2.7, I am getting the following:
broadlink discover
Reconnect Disconnect, reason: 1
Disconnect, reason: <paho.mqtt.client.Client object at 0x00000000046BABE0>
broadlink discover
Reconnect Connect, reason: 5
Disconnect, reason: 5
Disconnect, reason: <paho.mqtt.client.Client object at 0x00000000046BABE0>
broadlink discover
By the way, I am able to ping the thermostat
@hakam
It tries to reconnect to your MQTT broker not your thermostat. Can you connect to the former manually?
@DennisVonDerBey
In the config file, I changed
mqtt_qos to 1 instead of 2 and it worksâŠon Topic: /broadlink, i got
connect
and the âpython2.7 broadlink-thermostat.pyâ logs the following:
broadlink discover
Reconnect
Connect, reason: 0
broadlink discover
Reconnect
broadlink discover
Reconnect
broadlink discover
What about the Thermostat? it should be first configured to my WLAN SSID and password using the App provided by Floureon Thermostat, right?
If anyone is interested, I followed thit post to produce this systemd file:
[Unit]
Description=Python bridge from Broadlink devices to MQTT
Documentation=https://github.com/ralphm2004/broadlink-thermostat
After=openhab2.service
[Service]
Type=simple
ExecStart=/opt/broadlink-thermostat/broadlink-thermostat.py
WorkingDirectory=/opt/broadlink-thermostat
Restart=always
[Install]
WantedBy=multi-user.target
Hi all,
I have bought Floureon thermostat based on what is written in this thread.
I have tried python script to discover it but with no success. Device is connected to internet and works with WeBack app.
Python script found Broadlink IR blaster but not thermostat found.
Does anyone have any ideas how to get it woking?
If you look carefully on the thread you will see that this specific device indeed currently doesnât work with this script.
It might work if someone will figure out the needed changes. but nobody has done it so far.
If Iâm right, this will work with this Python script, without modification?
I have these Floureon thermostats and got them to work. There is one catch, though and Iâll post this here in case someone else is struggling with this.
Iâm running the broadlink-thermostat.py on my Linux server, which has multiple network interfaces (one of which is a strictly limited VLAN just for these untrusted Chinese stuff I like to play around with). This script however uses (I believe) the first available interface by default.
The good news is, this is quite easy to fix as the broadlink.discover() has a second optional argument for local ip address to be used for scanning. So I added a configuration option in broadlink-thermostat.conf:
local_ip = '192.168.0.1'
And then made this small change to broadlink-thermostat.py starting at about line 236 after the print:
print "broadlink discover"
timeout = conf.get('lookup_timeout', 5)
local_ip = conf.get('local_ip', '')
if local_ip == '':
devices = broadlink.discover(timeout)
else:
devices = broadlink.discover(timeout, local_ip)
Iâm sure thereâs a prettier way of doing this in Python but this does the job for me.
Does anyone of you have more than 3 of these thermostats running successfully?
Until yesterday I had installed two of them, worked like a charm after carefully following all the steps mentioned here (big thanks for that!). Today I installed another two thermostats, but when I start the broadlink-thermostat service it discovers only three of them, and it seems quite random, which one is missing.
Hi Edaltun,
did you find the solution for your thermostat? I found out that my device is connected with this IP 35.157.40.99 - probably WeBack cloud. It should be some way to control the thermostat through the WeBack server - just like the Google or Alexa services are working. On https://35.157.40.99 i get some JSON responses.