-
Notifications
You must be signed in to change notification settings - Fork 774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration of Eqiva EQ-3 Radiator valve #510
Comments
I would love this! |
Thumbs up for that. This is the last device I need to integrate with my smart home. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
To get this device supported, according to this thread here, one has to just send time of day to the device. Unfortunately, I don't have exact info about the format... Response then should be returned a complete set of data from the device. (I'm not really familiar with that bt stuff, so that's more or less just a summary of impressions I got until now, might be wrong.) |
Some small success: I figured out how to send the temperature setpoint to such a heating-valve:
|
Nicely done @Torxgewinde! Do you also see some freely broadcast advertising data from your EQ-3 Radiator valves, which could possibly be integrated into a decoder for Theengs Decoder, or are the values possibly only retrievable by READ or NOTIFY? |
@DigiH: It does advertise its presence, but there is not a lot of info:
with
Info must be retrieved by "subscribing". For example I had a sketch, that queries the valve mode (Auto, Manual). Here is the relevant part:
What I am missing in OMG is a subscribe option, I only see "write" and "read". BTW: I am not sure if it relevant, but if anything fails for others: I did not use the corresponding manufacturer App for years, thus the firmware has not been upgraded. I hope nothing changed to perhaps more recent valves/firmware. |
Shame about no valuable advertising data, with Correct, OpenMQTTGateway only allows to READ or WRITE, but not for NOTIFY options. If and how that might be implemented in the future, I do not know. |
There is a VERY detailed description of the protocol for these valves at https://reverse-engineering-ble-devices.readthedocs.io/en/latest/protocol_description/00_protocol_description.html Setting the mode to manual works:
Setting the time still contains some issue, but perhaps someone can spot and fix it:
|
Gab es hier irgentwelche Fortschritte? In Ermangelung von gefundener entsprechender Dokumentation wie die Device-Definition beim Theengs-Dekoder zu verstehen ist, tue ich mir da etwas schwer. Zum EQ-3 selbst finde man ja gute Dokumentation. Soweit ich es glaube verstanden zu haben, muss man den EQ-3 erst triggern, bevor er gesprächig wird, was ich jedoch beim decoder nicht fand. Gruss von der Ostsee |
Vielleicht kann mir jemand ja mal folgenden Passus etwas erklären
Was/Wo ist 50? |
English please, so everybody can follow and join in if desired.
All the decoder details are explained in the Theengs Decoder section at https://decoder.theengs.io/participate/adding-decoders.html To understand and see which raw advertising data devices sent out, which are then decoded by the individual decoders you can also set Advertisement and Advanced Data to true. The initial issue EQ-3 radiator valve is not included in any decoder, as its properties can only be fetched by connection and they are not being broadcast through the advertising data. So any property can only be gotten by manual READ commands with OpenMQTTGateway, and any command needs to be issued by an OpenMQTTGateway WRITE command. |
Oops, please excuse, I had been at a german forum for a while and therefor mistankinly continued to write german. Thank you very much for the two links, they seam to be very helpful. The last paragraph explains why I cant find characteristics as shown in several documents, thx Hope it will be easier/better with the cheap health-watch I ordered a few days ago... Chris |
How can I get so called known characteristics, like Battery-Level (0x2A19)? Is a mqtt read command the only solution? Chris |
Theengs Decoder is designed to only receive and decode freely broadcast advertisement data. If you do find any useful advertisement data for the EQ-3 valves, please let us know. To connect and READ (or WRITE) any service/chars you can use the OpenMQTTGateway READ/WRITE commands. This won't however work with any Notifications yet. The standard battery service should be possible, as I also use it to get some of my devices' battery level. The same for any other READable/WRITEable service/chars, which are usually also marked as such in nRFConnect. Just posted my reply when you updated yours ;)
Yes it is, as this is also how any other such EQ-3 valve solutions do it, but the service needs to be different to the characteristic, and for the type try HEX or INT. e.g. for the standard battery level it is
|
Thank you very much! |
Might it be, that I need to define a device inkl "tag" or otherwise the command wont get send at all? |
How are you actually sending the command - by the Mosquitto CLI command, through the MQTT Explorer Publish section …? A very popular problem when starting with READ/WRITE commands is to use the given OpenMQTTGateway place-holder name in the topic of the examples, while for an actual command to your gateway this needs to be the actual name of your gateway ;) If you use MQTT Explorer, or any other MQTT monitoring, you will then also see the commands sub-topic when commands arrive at the gateway. |
In fact I tried both, aswell my settings as compiled, aswell as (cause there might be some hardcoding) the default OMG Topic. Both can be seen at mosquitto-log/MQTT Explorer and ioBroker --- but no where an anser. You said you do use Battery-Level. |
No, they do not broadcast any valuable advertising data either, so they are not included in Theengs Decoder. Could the EQ-3 valves be of You can see if they are by setting Advertisement and advanced data to true. Either way, I do recommend getting MQTT Explorer for any MQTT trials and a good overview of published messages and commands. |
And I assume you are using the latest OpenMQTTGateway 1.7.0 release, correct? |
The source I downloaded from github says 1.6.0 (for the zip) |
Ahh, AFAIK the MQTTtoBT READ/WRITE command structure has changed since then, which is what you are seeing in the current docs, for the latest 1.7.0 release, while the previous READ/WRITE commands were So what do you get with this?
|
thats one of the paths/topics I tried I'll later compile the "OMG-development" (using default settings), maybe things then change... |
And please also do get MQTT Explorer, to then easily make screenshots with commands in the Publish section and received commands and messages on the left for your gateway. Makes pinning down any remaining issues a lot easier and quicker :) |
I'm more and more into Christmas preparation inkl trip to family between the years. |
Auch frohe Weihnachten an dich und deine Familie :) |
This thermostatic radiator valves are taking great acceptance since they are quite functional and cheap.
The integrations for home assistant force to use the server's own bluetooth which has a limited range to control several valves in a house.
The valves do not report the current temperature but if they are able to close the radiator at a specified temperature, so in combination with a mijia-type ambient sensor they are perfect for controlling rooms.
There is already a mqtt integration for esp32 from which code could be reused
https://github.com/softypit/esp32_mqtt_eq3
The text was updated successfully, but these errors were encountered: