@steveg
I have done a driver for a 433mhz HC12 radio, controlled with a BS170 n-channel mosfet.
That setup has very long range and very low idle consumptio. My setup uses around 8-14 uA in Sleep including a few pull-up
Posts made by mcrahr
-
RE: Battery node radio choice
-
RE: Wrong S_DOOR and V_TRIPPED gives a invalid value, in the log file WHY ?
@yveaux
As you can see the LOG comes from homeassistant.components.mysensors.helpers, not sure who did that, but home assistant work fine, as it does shows everything, looks like it is only the error trace -
Wrong S_DOOR and V_TRIPPED gives a invalid value, in the log file WHY ?
I see something strange in my homeassistant log file. What might be the issue here ?
Everything does seem to work ok I do get a nice door that open and close fine2019-01-04 10:21:42 DEBUG (MainThread) [homeassistant.components.mysensors.helpers] Invalid values: {16: '1'}: switch platform: node 10 child 20: S_DOOR requires value_type V_ARMED @ data[15]
2019-01-04 10:21:42 DEBUG (MainThread) [homeassistant.components.mysensors.helpers] Invalid values: {16: '1'}: switch platform: node 10 child 21: S_DOOR requires value_type V_ARMED @ data[15]According to the spec, S_DOOR should have V_ARMED or V_TRIPPED
I do send the following from the node.
sensorgateway1-out/10/21/1/0/16 1
sensorgateway1-out/10/20/1/0/16 1And 16 = V_TRIPPED
and this is how the json file for sensor node 10 looks like
"10": {
"sensor_id": 10,
"children": {
"20": {
"id": 20,
"type": 0,
"description": "",
"values": {
"16": "1"
}
},
"21": {
"id": 21,
"type": 0,
"description": "",
"values": {
"16": "1"
}
}
},
"type": 17,
"sketch_name": "Door living room",
"sketch_version": "1.0",
"battery_level": 0,
"protocol_version": "2.3.1-alpha",
"heartbeat": 0
} -
Microbit Radio on Arduino
I have created a small Arduino program that uses the NRF51 Radio on the MicroBit in Simple mode, maybe somebody here can get it to work with the Mysensor framework.
Uses the implementation from Landcaster Uni.
The code is fairly easy to understand.Link to Github.
https://github.com/tipih/Arduino_Microbit_SimpleRadio. -
HC12 Serial Radio
Does anyone know if there are work done to support the HC12 radio ?
If not I might give it a go.
Be.
Michael -
RE: Error compiling gateway for esp8266 node mcu(1.0) e12
Spot on correct downgrade to 2.4.1 then it works. Thanks, I did try a downgrade but to 2.2 and that did not work
Br
Michael -
RE: Error compiling gateway for esp8266 node mcu(1.0) e12
@mfalkvidd
I will try it out in a few minutes -
Error compiling gateway for esp8266 node mcu(1.0) e12
I did a clean install of the arduino IDE, installed the board manager, added the ESP8266 boards, and installed mySensor library.
But iยดm getting these compilation errors
C:\Users\michael\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.4.2/tools/sdk/include/ets_sys.h:218:6: error: previous declaration 'void ets_update_cpu_frequency(uint32_t)' here void ets_update_cpu_frequency(uint32_t ticks_per_us); exit status 1 Error compiling for board NodeMCU 1.0 (ESP-12E Module).
I only took the example, and did a verify.
Any idea on what the problem is