Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team

Question
pos 22
Hi
This is a question of how to best implement devices and interaction with a tcp socket service. I was going to buy DSC IT-100 to make a link between HC2 and my DSC alarm. But as I also needed an serial to ethernet unit and at the same time saw that Envisalink actually directly exposes the same low level API against the DSC alarm as the IT-100, I chose an Envisalink 4….
Now…
I am not going to use any Fibaro HC2 plugin for this. I am going to build a LUA TCP socket connection myself and implement the DSC low level API against my DSC PC1616 alarm.
QUESTION:
Lets assume I have this TCP socket service up and running in an autostarted LUA service that is always up and running and maintains the connection to the PC1616 alarm and receives data when stuff happens in the alarm. Now… When I receive a zone breach from one PIR in the PC1616 alarm to the tcp socket service written i Lua, how do I best make this “trap” available to other scenes. I mean, normally such a trap comes directly from a device where you could create a scene trigger from the devices “value” as a scene trigger.
Is there a way to use virtual devices for this? how?
What I really wonder is how to be able to threat all my 14 PIR:s and door sensors from my PC1616 alarm as different devices where I can just get its “value” to see if it’s breached or not.
Is there a way to send fake triggers? I mean.. Can I from my constantly run tcp socket service send out a trap and fake a source device ID as it would have come from from for example an fibaro motion sensor?
Any smart suggestions would be very appreciated
Thanks in advance
Peo
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.