• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pilight, Intertechno_old and Homebridge
#1
Hi all,

I'm using pilight happily since a long time. Now I'm pushing my HomeKit Smarthome and try to get something working at this moment. Following situation:

I'm using an Intertechno switch which acts like a push button instead of a switch. This means, that if I press on on my remote, the light goes on, and if I switch on again, it will goes off. This is not good for pilight. Because when I press on, the light switch on, and if I press off, the light stays on. 

I created a rule which says:

"esszimmer": {
                        "rule": "IF B4.state IS on THEN switch DEVICE B4 TO off",
                        "active": 1
                },

So pilight switch's automatically back to off when I press on. And the Light toggles as expected.

This is working for pilight, but not for the Homebridge. Homebridge doesn't recognize the rule and stays on, after sending "on". So I need to press off and on again to get it off and press off again to get the correct state. This is not a way I can work with HomeKit.

So do you have any idea how to fix this issue? pilight should send everytime a "on", but also toggle the "state". I think on this way it could get handled. But I don't know if it is possible to handle this with pilight. Or is der any other solution.

Thanks a lot!
 
Reply
#2
It is just me or is this more a of a HomeBridge question, because pilight works as expected.
 
Reply
#3
I also ask this myself when I wrote this post. But maybe there is someone which lives in both worlds
 
Reply
#4
By the way, I found a solution. Defining a rule which puts off the light 1 second after it was put on, fixed the homekit state. Important was the „after 1 second“. Without this it didn’t work in homekit, but in pilight itself it worked.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  apt.pilight.org stable Release' is not signed. thomasol 2 137 10 hours ago
Last Post: thomasol
  pilight and SIGNALduino cc1101 Caleus 0 72 01-19-2020, 09:13 AM
Last Post: Caleus
  filter stopped working after update to pilight 8.1.5 zlin50 19 494 01-03-2020, 02:15 PM
Last Post: curlymo
Question [Solved] Openweathermap with pilight 7.0-40 doesn't work Seebueb 2 124 01-01-2020, 06:45 PM
Last Post: Seebueb
  [Solved] Strange receive problem with 433Mhz Receiver and pilight 8.1.5 vanillaice30 15 637 12-18-2019, 11:09 AM
Last Post: vanillaice30
  pilight error after update to 8.1.5 on Odroid C2 WitchDoctor 3 304 11-29-2019, 09:56 PM
Last Post: curlymo
  pilight crashing randomly PatiB 7 494 11-16-2019, 10:50 PM
Last Post: curlymo
  [Fixed] RaspberryPi4 pilight 8.1.5 - Send isn't working DominikB1993 4 523 10-18-2019, 10:25 PM
Last Post: DominikB1993
  Real 433Mhz Remote is disturbed by pilight service henne111 2 446 10-06-2019, 06:18 PM
Last Post: wo_rasp
Tongue (solved) pilight 8.1.5-1-gc0a175e0 Chrashes fleisch 5 952 10-03-2019, 01:15 PM
Last Post: fleisch

Forum Jump:


Browsing: 1 Guest(s)