Hi!
Can I connect a door sensor or ir sensor to HA, and use it to trigger events in HA?
Lets say I open a door, the door sensor send it's signal to HA and then HA sends it's signal to turn on a specific lamp?
I have tried to figure this out by my own, but no success...
Used the search function of this forum as well...
Hej! Kan jag ansluta en dörr sensor eller ir sensor till HA, och använda den till att aktivera händelser i HA?
T.ex. att jag öppnar en dörr, dörrsensorn skickar sin signal till HA och sedan skickar HA sin signal för att knäppa på en specifik lampa.
/Tomas
Door sensor / Dörr sensor
Moderators: Daniel, tom_rosenback, Telldus
-
- Posts: 779
- Joined: Fri Mar 17, 2023 9:45 am
- Contact:
Re: Door sensor / Dörr sensor
Hi Tomas,Redg wrote:Hi!
Can I connect a door sensor or ir sensor to HA, and use it to trigger events in HA?
Lets say I open a door, the door sensor send it's signal to HA and then HA sends it's signal to turn on a specific lamp?
I have tried to figure this out by my own, but no success...
Used the search function of this forum as well...
Hej! Kan jag ansluta en dörr sensor eller ir sensor till HA, och använda den till att aktivera händelser i HA?
T.ex. att jag öppnar en dörr, dörrsensorn skickar sin signal till HA och sedan skickar HA sin signal för att knäppa på en specifik lampa.
/Tomas
Yes this is possible if you are using Linux, can be solved on Windows too but not with same response time. Take a look at http://developer.telldus.se/blog/2012/1 ... om-signals for further info.
//Tom
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
Re: Door sensor / Dörr sensor
Great!
Now I feel less dumb!
So, I've got some scripting to do... to bad I'm no good at it...
@Tom
Thanks!
I won't in no way diminish your excellent work, it's really good!
But do you see this type feature entering HA at any time?
I'm not lazy, I'm just not that confident in my scripting skills
/Tomas
Now I feel less dumb!
So, I've got some scripting to do... to bad I'm no good at it...
@Tom
Thanks!
I won't in no way diminish your excellent work, it's really good!
But do you see this type feature entering HA at any time?
I'm not lazy, I'm just not that confident in my scripting skills
/Tomas
-
- Posts: 779
- Joined: Fri Mar 17, 2023 9:45 am
- Contact:
Re: Door sensor / Dörr sensor
I´m afraid this will never be part of HA as such, the script example could however be, like described in the guide below.Redg wrote:Great!
Now I feel less dumb!
So, I've got some scripting to do... to bad I'm no good at it...
@Tom
Thanks!
I won't in no way diminish your excellent work, it's really good!
But do you see this type feature entering HA at any time?
I'm not lazy, I'm just not that confident in my scripting skills
/Tomas
Guide: Script execution from signals
//Tom
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha