-
Notifications
You must be signed in to change notification settings - Fork 12
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
add support for EEP D2-01-0C for avidsen and nodon #85
Comments
It looks like on this PDF, page 144 of 270 shows the eep sent by avidsen: also 139 of 270 explains the "cmd 0x8 actuator set pilot wire mode" that is of interest : and also the "cmd 0x9 - actuator pilot wire mode query" and "cmd 0xA - actuator pilot wire mode response" that can reply with the same numbering as with cmd 0x8 above. so how can I implement all that :) ? |
So I found this file but It looks like it is not implemented, even if I look in https://github.com/fruggy83/openocean/blob/master/src/main/java/org/openhab/binding/enocean/internal/eep/D2_01/D2_01.java I can see
but there is no command for 0x08 or 0x09 or 0x0A as explained above ? |
I did not know what this "pilot wire mode" is for, so I did not implemented it yet. However with the help of your docs, this is clear now. Do you have a testing environment where you could test a new openocean version? It would be fine if we could test my implementation before I merge it to official. Best regards |
@fruggy83 Yeaah ! I will install it tonight or tomorrow and will be able to test everything ! |
* little refactoring of EnergyMeasurementSwitch
thank you for your work. I tried to clone and compile with maven but could not find the parent org.openhab.addons.reactor.bundles version 2.5.1-SNAPSHOT I get this error :
|
So should I clone https://github.com/openhab/openhab-core and/or https://github.com/openhab/openhab-addons and/or https://github.com/openhab/openhab-distro It looks like openhab-addons already upgraded to 2.5.2-SNAPSHOT : openhab/openhab-addons@bd8f322#diff-727e725d63708f6c7b919fabbf33d792 Do you know how I can set-up a dev env. to compile your new binding and test it by deploying it on my openhabian "stable and in production" env ? |
I am using VS Code as IDE. I justed cloned the official openhab-addons and added the openocean repo as a submodule at the right place. gitmodules file
I will update the jar today. |
Hi @remisharrock, openHAB team updataed the current release to 2.5.2. I will try to update my source accordingly. Had not found time yesterday (unexpected root canal treatment). |
@fruggy83 All right ! |
here is a little testing, it doesn't seem to work properly but I don't know why. I tried different things and report what's happening here : I installed the avidsen device. It has a button and 3 leds: one blue, one green and one orange. and the log is too long so I put all my tests here: https://gist.github.com/remisharrock/5174c47ab09e1a1769f54f3a4602ff0d |
Hi @remisharrock, thanks a lot for your testing. I just forgot to implement the receiving part in my current implementation. So changes done directly on the device will have no effect in openhab. This is fixed now. Bellow you find a new version which has implemented the receiving part too. Would be nice if you could test this again. |
thank you for looking through my looong log ! https://gist.github.com/remisharrock/76547ed2aace6829c1d321f49a8e312c But I still have the problem when I send a command, now it works less than 10% of the time. What is surprising is that when I push the button and change the pilot wire mode manually on the device, the state change is always received correctly. I did the last test with the antenna very close to the device (like 3, 4 cm): when I change the pilot mode in PaperUI, it fails 90% of the time (the device doesn't do anything)... very strange. Also, in the version just before there was an option to repeat the sending message a certain number of times, It looks like I cannot configure this anymore. |
Hi @remisharrock, your device supports EEP D2-01-0C which has a switching command support, but maybe it just ignores it and always sends back Off for the switch command. This switching command is cannot be compared to the pilot wire OFF command. So maybe you should just ignore it for your device.
Ok in this case receiption quality should not matter.
Hm.. this seems to me that this device goes into something like a sleep mode where it does not receive any messages. After a short period of time it wakes up and receives new messages. As I do not understand french (learnd latin in school 🤦♂ ) , could you ask the advison support, if this is correct? The guys from NodOn (also a french company) were very helpful in implementing the other parts of the EEP D2-01 family. If this device goes into a sleep mode, if have a solution for this "problem" too. Dominik and I already implemented a request/response communication mode, where we just send a message, after we received a message from a device.
The repeating mode is still not available in the official binding as I want to refine it a little bit. |
I have sent this message to avidsen, waiting for their response: |
it looks like it's a hardware default, I have to send my devices back and they will send me new ones, known issue ! |
Hi @remisharrock, thanks for the update 👍 . Do you think I can push the changes to the official binding or should I wait until you receive your new devices? |
as you wish, I sent the devices last week, I'll be back next monday, as soon as I receive the new device I test again right away and let you know ! |
I would like to have the EEP D2-01-0C running. It is used to control electrical heaters in France and measure their energy consumption.
Both Nodon and Avidsen have implemented this EEP profile.
Here is the nodon controller:
https://nodon.fr/nodon/module-chauffage-fil-pilote-enocean/
Here is the avidsen controller:
https://www.avidsen.com/cache/documents/product/fp_module-de-chauffage-fil-pilote-516207-avidsen-847.pdf
little test of the avidsen in this article: https://www.domotique-info.fr/2017/04/test-module-fil-pilote-enocean-by-avidsen/
Is it implemented ?
How can I help implementing it ?
Thank you for your help !
The text was updated successfully, but these errors were encountered: