Update went well, no issues.
Amazing! Itās works!. Great job.
But I have one problem. How to show temperature of air, not floor. When I add climate, I see temperature of floor.
Can I change it? I didnāt find where.
Thank you.
Target temperature displayed based on
sensor.xxxxxx_sys_info_regulation_type value.
option1: Change regulation_type in thermostat config
option2: Overwrite thermostat template.
- Copy auto-discovery-templates folder from GitHub - bob-tm/ha-devi-mqtt: Home Assistant Danfoss DeviReg MQTT addon to addon config folder
- Edit \192.168.x.x\addon_configs\xxxx_devismart-mqtt\auto-discovery-templates\climate_thermostat.json
- Look at current_temperature_topic. Replace temperature_current with temperature_room
- auto-discovery-templates in config folder has more priority over build in one. It will not be updated with addon update.
- Restart addon. (I think itās enough. If itās not work - delete mqtt device and restart addon again)
Just for feedback.
Did you generate config file using addon and docker commands or with jar file?
Hi,
option1: I donāt know how to do it
option2: unnecessarily complicated
I solved it so far with this plugin. I like that it is smaller than the classic thermostat card in HA.I solved it so far with this plugin. I like that it is smaller than the classic thermostat card in HA.
It is possible to select the display of different values āāand that suits me
Where can I send a contribution / buy coffee?
@Qa23 , I had the same problem, I reached 10 users in Android Devi app and could not remove user to free up. My wife has an Iphone and IOS Devi app, removing users worked fine. So that is one work around if you have access to someones Iphone
Thank you for the detailed instruction. But still this noob cannot install this. I think I have correctly installed java (running windows 7(!)), but iām lost at
" * Run the discovery:
- java -cp ha-devi-mqtt.jar io.homeassistant.devi.mqtt.service.DiscoveryService"
How to do this on a win7 machine? Or is there a newer way?
option1: replace java with full windows java path. something like c:\program files\java\java.exe -cp ha-devi-mqtt.jar io.homeassistant.devi.mqtt.service.DiscoveryService
(I never use java on windows, you should find your correct path )
option2: try to generate config inside addon.
Addon Docs, Method 1
Method1: Inside addon, experemental - SUCCESS
Just tested on HaOS via Proxmox VM (Intel)
The more I can say - Iāve succeeded using iOS Devi app, but had to repeat āsharingā few time in app.
Will try to migrate from my OpenHab Homekit integration so now.
The only thing i needed to change in Add-on Config just my Mosquito adress for HA: core-mosquitto instead of localhost
Thank you for the instructions, Java and I donāt seem to work together
With option 2, everything goes good until the deviMQTT restarts.
Log says:
Config Exists!
20:36:36.887 [main] INFO i.h.devi.mqtt.service.ConsoleRunner - Starting exporter service
Unable to connect to server (32103) - java.net.ConnectException: Connection refused
at org.eclipse.paho.client.mqttv3.internal.TCPNetworkModule.start(TCPNetworkModule.java:80)
at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:724)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:547)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:633)
at org.eclipse.paho.client.mqttv3.internal.TCPNetworkModule.start(TCPNetworkModule.java:74)
Config is found which is good, but I cannot find the devi-devices anywhere and the the DevismartMQTT is giving these errors again and again on a loop
Your problems seems similar, try set ā core-mosquittoā as address of mqtt in addon config. Log/pass also should be correct.
Maybe itās possible to change HA related Thermostat entities formed with MQTT?
For now we have OFF and HEAT mode with PRESETS and Target/Current temperatures.
But if adjust Modes like
In HA - on Devi:
OFF - OFF
AUTO - SCHEDULE
HEAT - MANUAL
And use for Current Heating-Cooling State of thermostat - Deviās ābinary_sensor.devireg_[name]_binary_sensor_heating_stateā
It would be possible to easy pass it to HomeKit and so on for easy control and usage.
Thank you very much, now everything working as intended!!!
Many thanks also to everyone who has made this possible. I donāt understand why Devi themselves donāt make this possible, but gladly there is a workaround.
Iāll write down my process quoting the instructions linked by Qa23 in case it helps someone who is struggling like I was
First install Mosquitto MQTT :
- Start Devismart MQTT addon. Check logs for message (devi_config.json not found. Running in waiting mode)
Install Devismart MQTT from ha-devireg-mqtt-addon/devismart-mqtt/README.md at 3f28d818b6a6eb511e7fa7d606f094e9c3f3fbbc Ā· bob-tm/ha-devireg-mqtt-addon Ā· GitHub. Change host to ācore-mosquittoā and add user and password. - Install and Run Advanced SSH & Web Terminal GitHub - hassio-addons/addon-ssh: Advanced SSH & Web Terminal - Home Assistant Community Add-ons
- Disable Protection mode Advanced SSH & Web Terminal (remember to reboot)
- Click Open Web UI for Advanced SSH & Web Terminal
- Enter in terminal
docker container ls -a | awk 'NR>1 {print $1, $2}' | grep 'devismart-mqtt'
- Look for CONTAINER ID for devismart-mqtt. Looks like 4b9fa34ad83e
- Replace 4b9fa34ad83e with your id and Run
docker exec -it 4b9fa34ad83e /config.sh
- Foloow instructions on screen. devi_config.json should be saved to addon config folder.
In this step there was instructions inside SSH. The code from mobile app is inputted without ā-ā -marks, so only numbers. I chose to give permission to delete thermostats when asked before creating the code. Took couple of tries but then it worked. And wait, at least for me this step took quite long. Finally there is a message that the config is added or something similar. - Restart Devismart MQTT addon.
- Check addon logs for message (Config Exists!) or list of autodiscovered items.
- Go to MQTT Integration and check for Devi devices!
Thank you @Qa23 and @AnttiKortesoja, I recently purchased a DEVIreg Smart thermostat and itās fantastic to be able to integrate it into Home Assistant . I followed the instructions above and it is all working fine. Thanks again .
I too would like to add my thanks to everyone who has helped get this working, Iāve followed the instructions and now have access to my thermostat. Many thanks.
What an amazing effort indeed. Thank you! One thing Iām not sure I understand yet (I scanned the post but wasnāt sure) is: can you make it restart automatically when the RPI / HA restarts?
Slightly off-topic and specifically related to the DEVIreg Smart device and its cloud service.
First of all, ping times to the thermostat on the local network are relatively high at 81ms (avg over 30 packets, maximum 361ms) compared to other wireless devices on the same network at 3ms (avg over 30 packets, maximum 15ms), which I find a bit suspicious. Also, most of the time, the thermostatās connection to the cloud service is highly volatile, with it connecting and disconnecting every few seconds (see āsensor_cloud_connectedā entity). This is evident on my firewall with many connections in the āclosingā state. However, sometimes it stays connected for a while, without any issues.
This is with the thermostat hanging off the wall, so not in the back box, and the signal strength is decent at -57db. I have a Shelly Plus 1PM device quite close to it, with a similar signal strength, and I have no issues with that device at all, so my suspicion is that there might be something wrong with my thermostat.
I have ordered a second thermostat for the other bathroom, so Iāll be able to compare results shortly, but I was wondering what experiences are from other DEVIreg Smart users?