@stoffej ...fixed it ... I realised that the code in the sensors is waiting for the openhab to send a message to the sensor during startup of the sensor. So I had to add that into openhab..and now it works...
Posts made by stoffej
-
RE: openHAB 2.0 binding
-
RE: openHAB 2.0 binding
Any progress? Since I also can not see the sensors after updating to openhab 2.1.
-
RE: openHAB 2.0 binding
Where do I found the Mysensors Binding 2.0.0.201701181308 jar file for download?
Or is it mandatory to compile it from source?Thanks Kristoffer
-
RE: How to connect USBASP to a bare atmega328p
The ICSP connector that is nearest to the mega328 chip is the one I planning to use.
-
How to connect USBASP to a bare atmega328p
I have spend a long time trying to sort this out.
But I getting more and more confused.I want to burn the bootloader to create this sensor.
https://forum.mysensors.org/topic/2067/my-slim-2aa-battery-nodeI have
- usbasp
- a few ardunino uno
- bare atmega328p
- not enough knowledge in burning bootloaders =(
But how do I connect the usbasp to a bare atmega328p without external crystal to burn the bootloader??
Can I connect the usbasp to the arduino unos ICSP port?
Like this
And use this good guide mysensors burn bootloader
-
RE: openhab send message to mysensors, serial, mysensorbinding
After some testing I reporduce the command that I want be able to send from the rule in openhab to mysensor.
I_LOG_MESSAGE: send: 0-0-5-10 s=1,c=1,t=24,pt=0,l=8,sg=0,st=ok:13237476
So with this code it works !!
my_nibe_pulsecount.sendCommand(0)
-
openhab send message to mysensors, serial, mysensorbinding
Hi
I have a openhab instance running on a linux machine.
That openhab is connected to mysensor via a serial gateway.I have managed to receive data via the serial gateway.
I have two powermeter sensors which request value from openhab during startup.So it seems that it is possible to send message from openhab to mysensors.
receiving is not a problem.But I would like to send the same value in a rule also. How do I do that?
The rule ..// nollställer pulsecounter varje midnatt rule "Midnight" when Time cron "0 59 23 * * ? " then var Number zero = 0 postUpdate(my_nibe_pulsecount,zero) //sendCommand(Arduino, my_nibe_pulsecount) or something similar??? logInfo("logg"," reset pulscounters") end
This is the Item i want to send from openhab to mysensors.
Number my_pulsecount "V_VAR1 (pulse count) [%d]" {mysensors="10;1;V_VAR1"}
-
What is the input voltage range for NRF24L01+ Socket Adapter Board?
The onboard regulator is a AMS1117-3.3 chip.
Can I power the socket adapter board with 5-12 V ? Same as for the arduino pro min to get a stable power source.