Bentel allows only for single client connections, so if you sign in via the app, the addon can’t connect. The ip you have to insert is the mqtt broker one.
If you have the configuration set correctly, you should see all of your sensors. You can find them as binary sensors
Hello,
I’m trying to integrate your addon, first of all a big thank you for the work !
I’m trying to configure, but when I start the addon, I get an error in the log: s6-overlay-suexec: fatal: can only run as pid 1
Do you know what the problem is?
I made the change, but I still have the same problem.
Can a bad configuration generate this message?
I’m not sure if I set the configuration correctly.
Is “mqtt_broker_ip” the IP address of the Bentel alarm?
I managed to configure it correctly, and now it works
Thank you so much!
Hi guys, first post here.
I really want to thank @nicomedia for his work! i think that’s the minimum i can do.
Hi guys.
Can you help me with setting up sia alarm integration. I’m stuck somewhere and I don’t know enough to set it up.
I have amc x824 alarm panel. As I can see it has sia support. In alarm configuration I set up home assistant ip like this
When I add sia integration I got configuration screen like this
Ok, for port it’s obvious that it should be 10000
Now for other account id and encryption key I’m not sure.
Does anyone know what values I should put in account id and encryption key? or just have a guess and I’m willing to try it.
Hey guys, sorry if I disappeared, but I was graduating university and other things happened and I didn’t have any time to maintain this plugin.
I have some AMAZING news: I successfully reverse engineered the “panelcontrol” Java application and now I’m able connect locally to the panel, so no more internet connection required, no more “Panel unavailable” messages from the mobile App, and no more dropped connections from the server, since there is no more server, everything will happen in your local network!
For now this is just a proof of concept, I’ll have to rewrite the MQTT interface and all the logic from scratch in Java, since that’s the language that panelcontrol uses, and I’ll have to repackage everything in a plugin, which will take dome time, but for now, here’s a sneak peek behind the scenes:
I hope I can publish this as soon as I can, I’ll dedicate as much time as I can to this, but the coding and testing process will take a while.
I’ll keep posting updates on this thread.
More good news: I’ve been working way too hard in these three days and I am now able to get all the data from the panel locally in real time, as you can see from this very basic test I did.
I’m pretty sure, and I hope, that this was the hardest part. Now what remains to be done is to code all the logic to manage the incoming data in a decent way, the MQTT interface, and the container for HASS.
I’ll post another update ASAP.
Since you are doing this from scratch (if I understand it correctly), wouldn’t it be worth a try to make an integration instead of using mqtt alarm?
(thank you one more time for your work, by the way)
I always thought an integration would be better but from what I understand, which is not much so if someone knows more please correct me if I’m wrong, the integrations are all done in Python, and since I didn’t code from scratch neither the old plugin nor this one, I can’t develop an integration in Python because I need the JS(for the old one) or Java code to make it work, that’s why I resorted to making a plugin.
Hello guys, yes, integrations for HA should be developed in Python.
There are basic templates to start from based on the type of integration. The integration have to expose sensor status and services to make made available in HA that can be called in the actions.
As I mentioned in my previous posts, which were deleted, I had been contacted by Bentel to develop a local integration, I had asked as mandatories for the release so that I could make everything open source but they never answer me.
Another update: I finished coding all the sensor and partition status sent to HASS, and it works as a drop-in replacement for the last addon, so no reconfiguration or removal of old entities required, the change of addon will be completely transparent to HASS, as if nothing ever happened.
I now need to finish coding the commands sent from HASS to the panel and to package the addon to work with HASS.
Good job! Thank you for keeping us posted. Do you think it will be possible to receive notifications (such as battery low, battery fault, sabotage…) from the bentel panel into home assistant?
I can get that info from the Java code, I wouldn’t know how to make HASS send notifications about it.
Maybe in a future version…
For now I finished coding the command receiving from HASS, tomorrow I’ll test it (I don’t want to risk to set the alarm off late at night), and if that works I just need to package it all into a Docker container and that should be it.
It probably won’t be flawless, it will be VERY beta software since I’m the only one testing it right now, we’ll see how it goes.
That’s all right. Thank you very much. I’ll be super interested in the testing, hoping to be helpful!
Hi nicomedia, as i’m also working on the same project maybe i can help you, as i’ve got the documentation for the third party protocol that bentel utilize for the comunication itv2.
Let me know so i can share it with you.
Hey! That would actually be great to develop an integration for home assistant instead of a plugin!
For this new plugin I actually already finished coding it, I finished the last tests this afternoon and I just need to package it into a HASS plugin and it’s done, but it would be great to make a native integration in the future!