I'm running the example sketch so the sleepfunction is allready there. So it's the 5V power that's the issue?
Gustafsson
@Gustafsson
Best posts made by Gustafsson
Latest posts made by Gustafsson
-
RE: Motionsensor
-
Motionsensor
Hi guys,
I just build my first motionsensor but i think I have some problems. Everything is working and the sensors send 1 and 0 to my gateway, but my problem is that it looks like this in the serial monitor.
1 0 1 0 0 1 0 1 1 0 1 1 0 1 1 0 1 0 0 1 0 1 1 0 1 1 0 1 1 0 1 0 1 1 0 1 1 0 1 1 0 1 0
The problem is that I get like 10 - 20 updates / second and as you see, its 1 and 0 at the same time and its pointed at a clean wall with no motions.
Anyone have any thoughts how to solve this?
Cheers
-
RE: openHAB 2.0 binding
@gonzalonal sorry, I missed it when I pasted in my code here, so there is in fact a { in my code. Any other ideas?
-
RE: openHAB 2.0 binding
@andreacioni That's exactly what I did.
Things
Bridge mysensors:bridge-eth:gateway [ ipAddress="192.168.254.228", tcpPort=5003, sendDelay=200 ] door frontDoor [ nodeId="102", childId="4" ] }
Items
Text frontDoor "Door" { channel="mysensors:door:gateway:frontDoor:tripped" }
Sitemap
sitemap MySitemap label="Main Menu" { Frame { Text item=frontDoor } }
This is how everything looks like now. I get the door item green in habmin but still the red cross on the gateway. The door item dosn't show me if it's open or closed.
-
RE: openHAB 2.0 binding
Hi guys,
I've tried to add my ethernet gateway to openhab2 through but I just cant get the Online-status on, it. Do I have to do anything else than just adding it into the things file?
-
RE: Add item in openhab from MQTT gateway
Hi again,
I got to the point where I ain't get any error in my openhab.log file and this is how it looks now, but still doesn't work.
Contact door "MQTT [MAP(door.map):%s]" {mqtt="<[homeAuto:homeAuto-out/101/3/1/0/V_TRIPPED:state:MAP(door.map)]"}
Thanks
-
Add item in openhab from MQTT gateway
Hi guys,
You have been a big help to me so far and I would like some more.
I have a running MQTT Ethernet Gateway, I also have a running BinarySwitch but I just don't have a clue how I add this as an item in openhab. I tried this one, but it ain't working.
Contact door "MQTT [%s]" {mqtt=">[homeAuto:homeAuto-out/101/3/V_TRIPPED:state:OFF:1],>[homeAuto:homeAuto-out/101/3/V_TRIPPED:state:ON:0]"}
Is there anyone who can help me with this one? And is there somewhere I can read about how to configure different items from MQTT in openhab?
Thanks guys
-
RE: [SOLVED] MQTT Ethernet shield gateway
Good to hear that you had a plan
Now the only problem is that I need to figure out how to connect everything with the sensors and then to openhab. I'm off duty tonight so I'm going to see what Google have for me
-
RE: [SOLVED] MQTT Ethernet shield gateway
Problem fixed.
Apparently my wires from Chine was the problem. Bought some new ones and now it works.
Thanks for all help @Thomas-Augustinus