my experience is different, aliexpress is collected vat on purchase and item was shipped from Netherlands
Price: 11.29€
VAT (collected by Aliexpress): 2.59€
my post office sent me email asking for pay 6.09€ (2.59vat and 3.50 fee) and there is no way of contacting them or sending pre-paid vat just a reference number to pay vat online.
Posts made by pihome
-
RE: 2021 EU customs regulatory changes — where should I buy now?
-
RE: LoRa Gpio serial gateway
i havent tested lora on serial gateway but i had issues using 3.3v arduino, for me fix was 5v arduino with logic converter.
-
RE: What did you build today (Pictures) ?
very first working Ethernet gateway
-
Making WiFiManager compatible with MySensors 2.3.2
Its not bug but a workaround just in case if any one is searching for solution. I was using WiFiManager with MySensors 2.3.1 for WiFi gateway and it was working fine and now i upgraded MySensors from 2.3.1 to 2.3.2 and my WiFi gateway sketch refuse to compile. for the time being workaround: You need to comment out two location in core/MyGatewayTransportEthernet.cpp
may be there is better way but this is quick fix.Line 49 to 55
/* #if defined(MY_GATEWAY_ESP8266) || defined(MY_GATEWAY_ESP32) #if !defined(MY_WIFI_SSID) #error ESP8266/ESP32 gateway: MY_WIFI_SSID not defined! #endif #endif */
Line 184 to 189
/* (void)WiFi.begin(MY_WIFI_SSID, MY_WIFI_PASSWORD, 0, MY_WIFI_BSSID); while (WiFi.status() != WL_CONNECTED) { delay(1000); GATEWAY_DEBUG(PSTR("GWT:TIN:CONNECTING...\n")); } GATEWAY_DEBUG(PSTR("GWT:TIN:IP: %s\n"), WiFi.localIP().toString().c_str());*/
-
RE: NRF24L01 +PA+LNA right seller from Aliexpress
@hira
No, dimensions are different -
RE: OTA:FWP:UPDATE SKIPPED :(
just tired with different fuse settings bootloader.low_fuses=0xE2 but no success
2088 TSM:FPAR:OK 2088 TSM:ID 2091 TSM:ID:OK 2093 TSM:UPL 2097 2193 TSF:MSG:READ,0-0-1⸮2209 TSF:MSG:SEND,1-1-0-0,s=255,c=4,t=0,pt=6,l=10,sg=0,ft.Wz-⸮0100 2410 TSF:MSG:READ,0-0-1,s=255,c=3,t=15,pt=6,l=2,sg=0:012428 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0 >TSF:MSG:READ,0-0-1,s=0,c=4,t=1,pt=6,l=8,sg=0:20000100D00374A3 2674 OTA:FWP:UPDATE 26⸮2791 TSF:MSG:READ,0-0-1,s=255,c=3,t=6,pt=0,⸮⸮⸮Blank Over The Air Node 2811 TSF:MSG:SEND,1-1-0-0,s=255⸮MMi⸮3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2 3088 MCO:BGN:STP 3090 MCO:BGN:INIT OK,TSP=1 24172 TSF:MSG:READ,0-0-1,s=0,c=4,t=1,pt=6,l=8,sg=0:20000100D00374A3 24178 OTA:FWP:UPDATE
-
OTA:FWP:UPDATE SKIPPED :(
Hi All,
i had some spare time and thought to play with OTA, i have burned bootloader with right channel and then upload blank sketch with, i have swapped the arduino just in case.MySensors version 2.3.1
ESP8266 Gateway.
hex file size is 43KB
can any one see what i m doing wrong?Blank sketch:
// Enable debug prints to serial monitor #define MY_DEBUG //Set MY_SPLASH_SCREEN_DISABLED to disable MySensors splash screen. (This saves 120 bytes of flash) #define MY_SPLASH_SCREEN_DISABLED //Define Sketch Name #define SKETCH_NAME "Blank Over The Air Node" //Define Sketch Version #define SKETCH_VERSION "0.001" // Enable and select radio type attached #define MY_RADIO_RF24 //Define this to use the IRQ pin of the RF24 module (optional). #define MY_RF24_IRQ_PIN 2 #define MY_RX_MESSAGE_BUFFER_FEATURE #define MY_RX_MESSAGE_BUFFER_SIZE 5 #define MY_RF24_PA_LEVEL RF24_PA_MIN //Default RF channel Default is 76 #define MY_RF24_CHANNEL 91 //PiHome Zone Controller Node ID #define MY_NODE_ID 1 //RF24_250KBPS for 250kbs, RF24_1MBPS for 1Mbps, or RF24_2MBPS for 2Mbps #define MY_RF24_DATARATE RF24_250KBPS //If Following LED Blink does not work then modify C:\Program Files (x86)\Arduino\libraries\MySensors_2_1_1\MyConfig.h #define MY_DEFAULT_ERR_LED_PIN 16 //A0 previous version 8 #define MY_DEFAULT_TX_LED_PIN 14 #define MY_DEFAULT_RX_LED_PIN 15 #define MY_WITH_LEDS_BLINKING_INVERSE #define MY_DEFAULT_LED_BLINK_PERIOD 400 #define MY_OTA_FIRMWARE_FEATURE #include <MySensors.h> void setup() { } void presentation() { //Send the sensor node sketch version information to the gateway sendSketchInfo(SKETCH_NAME, SKETCH_VERSION); } void loop() { }
Here is my boards.txt file just incase if i m missing something
########################################### MYS.name=OTA nRF Ch91 8MHz RF24_PA_MIN BOD-1.8v MYS.upload.tool=avrdude MYS.upload.protocol=arduino MYS.upload.maximum_size=30720 MYS.upload.speed=57600 MYS.bootloader.tool=avrdude MYS.bootloader.low_fuses=0xFF MYS.bootloader.high_fuses=0xDA # all the possible values: #MYS.extended_fuses=0x04 -> BOD at 4.3V #MYS.extended_fuses=0x05 -> BOD at 2.7V #MYS.extended_fuses=0x06 -> BOD at 1.8V #MYS.extended_fuses=0x07 -> BOD disabled MYS.bootloader.extended_fuses=0x06 MYS.bootloader.path=MYSBootloader MYS.bootloader.file=MYSBootloader.ch91.8000000L.RF24_PA_MIN.hex MYS.bootloader.unlock_bits=0x3F MYS.bootloader.lock_bits=0x0F MYS.build.mcu=atmega328p MYS.build.f_cpu=8000000L MYS.build.core=arduino MYS.build.variant=standard
serial console logs for node.
⸮Q)6 TSF:WUR:MS=0 12 TSM:INIT⸮2064 !TSM:FPAR:NO REPLY 2066 TSM:FPAR 2103 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: K,ID=0,D=1 4110`⸮⸮⸮255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1 TSF:MSG:READ,0-0-1,s=255,c=3,t=25,pt=1,l=1,sg=0:1 4225 TSF:MSG:PONG RECV,HP=1 4229 TSM:UPL:⸮⸮⸮⸮⸮b⸮⸮⸮0,ft=0,st=OK:FFFFFFFFB803CFD40300 4247 TSF:MSG:S4442 TSF:MSG:READ,0-0-1,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 4460 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0 4706 TSF:MSG:READ,0-0-1,s=2⸮<sg=0,ft=0,st=OK:Blank Over The Air Node 4726 TSF:MSG:SE⸮SEND,1-1-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2 5001 TSF:MSG:READ,0-0-1,s=255,c=3,t=27,pt=1,l=1,sg=0:1 5007 MCO:PIM:NODE⸮60993 TSF:MS⸮609826 TSF:MSG:READ,0-0-255,s=255,c=3,t=20,p⸮702⸮702980 TSF:MSG:SEND,1-1-0-0,s=255,c=4⸮SG:SEND,1-1-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 703197 TSF:MSG:SEND,1-1-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.3.1 ⸮P&⸮703457 OTA:FWP:UPDATE SKIPPED 703578 TSF:MSG:READ,0-0-1,s=255,c=3,t=6,pt=0,l=1,sg=0:M ⸮END,1-1-0-0,s=255,c=3,t=11,pt=0,l=23,sg=0,ft=0,st=OK:Blank Over The Air ⸮⸮⸮i⸮710047 OTA:FWP:UPDATE SKIPPED
screenshot of MYSController
-
RE: RFM69HCW with ESP8266 Gateway and relay module
@zboblamont
i was expecting bit more range with 2dbi antenna, you are right i have to put better antenna gateway.
are you referring to
MY_RFM69_TX_POWER_DBM in sketch? on same note
what would be different between MY_RFM69_MAX_POWER_LEVEL_DBM and TX_POWER, i have tried MY_RFM69_MAX_POWER_LEVEL_DBM to 100u but made no difference in range. -
RE: RFM69HCW with ESP8266 Gateway and relay module
@zboblamont, @mfalkvidd
Thank you both.Relay Node:
Powered by 5v and using MIC5205-3.3v voltage regulator. 10uf & 100nf cap on radio
Arduino 8Mhz with RFM69CHW at 433MhzDS18B20 Sensors:
Powered by 3xAAA battery and using MIC5205-3.3v voltage regulator. 10uf & 100nf cap on radio
Arduino 8Mhz with RFM69HW at 433MhzGateway:
Powered by 5v via micro USB to ESP.
ESP8266 with RFM69CHW at 433MhzFirst Test:
Gain:2dBi-3dBi
Wire diameter:0.6MM
Spring outer diameter:5MM
Total Length include soldering part: 34MM
Coil Turns: 28
Range around 20 to 30m while gateway was inside house.
Second Test
Gain:2dBi
Wire diameter:0.5MM
Spring outer diameter:5.5MM
Total Length include soldering part: unknown
Coil Turns: 17
Range around 20ish meter while gateway was inside house.
are there any customisations i can try in sketches to improve range? i.e max power level in sketch?
#define MY_RFM69_MAX_POWER_LEVEL_DBM 100u
-
RE: RFM69HCW with ESP8266 Gateway and relay module
adding following line to sketch fixed the reboot issues for me, but signal problem is still here
#define MY_RFM69_NEW_DRIVER```
-
RE: RFM69HCW with ESP8266 Gateway and relay module
@mfalkvidd thank you for quick reply. any chance of no signal after 20ish meeter (just outside the house) related to same issue?
-
RFM69HCW with ESP8266 Gateway and relay module
Hi all,
i have built very first RFM gateway, sensors and relay module, ds18b20 sensor module works ok, but when i turn on relay module (without relay connected) my gateway reboot itself see below serial output form esp, nothing special in sketch its all standard.7915 TSF:MSG:READ,102-102-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 7977 TSF:MSG:BC 7993 TSF:MSG:FPAR REQ,ID=102 8024 TSF:CKU:OK,FCTRL 8047 TSF:MSG:GWL OK Soft WDT reset >>>stack>>> ctx: cont sp: 3ffffc40 end: 3fffffd0 offset: 01b0 3ffffdf0: 00000024 3ffef19c 3ffeee0c 40202c95 3ffffe00: 3ffeec9d 00000066 3ffeee0c 402030d4 3ffffe10: 0000003d 00000066 3ffeee0c 40203134 3ffffe20: 3ffeec9d 00000066 3ffeee0c 4020335c 3ffffe30: 00002887 00000008 00000001 402027a4 3ffffe40: 002881cc 3ffef2e0 40244010 000027bf 3ffffe50: 00000066 3ffeee0c 00000002 40202be0 3ffffe60: 3ffeec9d 00000008 00000005 000000c8 3ffffe70: 3a465354 3a47534d 00000000 00000008 3ffffe80: 00000066 3ffeedf0 3ffeec9d 40203485 3ffffe90: 742c333d 702c373d 3ffeec9d 40204617 3ffffea0: 303d6773 00000a3a 4bc6a7f0 00000000 3ffffeb0: 00000000 4bc6a7f0 55810624 00000000 3ffffec0: 00000000 4bc6a7f0 5a1cac08 00000000 3ffffed0: 00000000 00000000 4bc6a7f0 00000000 3ffffee0: 40105460 002aa322 3ffef1d4 00000000 3ffffef0: 3ffee630 3ffef1d4 3ffe8524 3ffef1d4 3fffff00: 3ffeedf4 3ffeedf0 40203d7c 3ffeedf0 3fffff10: 3ffeedf4 3ffeec9d 00000066 40204760 3fffff20: 3ffeedf4 00000066 3ffeecbe 40204e05 3fffff30: 00000007 00000000 00000000 00000000 3fffff40: 3ffeec68 3ffef19c 3ffeee0c 3ffeec44 3fffff50: 00000003 000000ff 00000066 00000000 3fffff60: 000000ff 00000000 3ffeedf4 00000007 3fffff70: 3fffdad0 00000000 3ffeece0 3ffeec44 3fffff80: 3fffdad0 00000000 00000005 40204e70 3fffff90: 3fffdad0 00000000 3ffeec28 40204e8c 3fffffa0: 00000000 00000000 3ffeec28 40205773 3fffffb0: 3fffdad0 00000000 3ffeec28 40205a8c 3fffffc0: feefeffe feefeffe 3ffe8524 4010010d <<<stack<<< ⸮⸮⸮⸮z9⸮⸮59 MCO:BGN:INIT GW,CP=RRNGE---,REL=255,VER=2.3.1 110 TSF:LRT:OK 126 TSM:INIT 140 TSF:WUR:MS=0 160 TSM:INIT:TSP OK scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 3 cnt connected with myfi, channel 7 dhcp client start... ip:192.168.1.12,mask:255.255.255.0,gw:192.168.1.1 376 TSM:INIT:GW MODE 398 TSM:READY:ID=0,PAR=0,DIS=0 430 MCO:REG:NOT NEEDED 456 MCO:BGN:STP *WM: *WM: AutoConnect *WM: Connecting as wifi client... *WM: Already coWebServer started... *WM: freeing allocated params! 551 MCO:BGN:INIT OK,TSP=1 635 TSM:READY:NWD REQ 3159 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK: 4234 TSF:MSG:READ,102-102-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 4295 TSF:MSG:BC 4312 TSF:MSG:FPAR REQ,ID=102 4342 TSF:CKU:OK,FCTRL 4365 TSF:MSG:GWL OK Soft WDT reset >>>stack>>> ctx: cont sp: 3ffffc80 end: 3fffffd0 offset: 01b0 3ffffe30: 001d2768 00000008 00000066 402027a4 3ffffe40: 00151fda 3ffef2e0 40244010 0000188d 3ffffe50: 00000066 3ffeee0c 00000005 40202bfe 3ffffe60: 3ffeec9d 00000008 00000005 000000c8 3ffffe70: 3a465354 3a47534d 00000000 00000008 3ffffe80: 00000066 3ffeedf0 3ffeec9d 40203485 3ffffe90: 742c333d 702c373d 3ffeec9d 40204617 3ffffea0: 303d6773 00000a3a 4bc6a7f0 00000000 3ffffeb0: 00000000 4bc6a7f0 e8b43958 00000000 3ffffec0: 00000000 4bc6a7f0 f0a3d70a 00000000 3ffffed0: 00000000 00000000 4bc6a7f0 00000000 3ffffee0: 40105460 00162c97 3ffef1d4 00000000 3ffffef0: 3ffee630 3ffef1d4 3ffe8524 3ffef1d4 3fffff00: 3ffeedf4 3ffeedf0 40203d7c 3ffeedf0 3fffff10: 3ffeedf4 3ffeec9d 00000066 40204760 3fffff20: 3ffeedf4 00000066 3ffeecbe 40204e05 3fffff30: 00000007 00000000 00000000 00000000 3fffff40: 3ffeec68 3ffef19c 3ffeee0c 3ffeec44 3fffff50: 00000003 000000ff 00000066 00000000 3fffff60: 000000ff 00000000 3ffeedf4 00000007 3fffff70: 3fffdad0 00000000 3ffeece0 3ffeec44 3fffff80: 3fffdad0 00000000 00000005 40204e70 3fffff90: 3fffdad0 00000000 3ffeec28 40204e8c 3fffffa0: 00000000 00000000 3ffeec28 40205773 3fffffb0: 3fffdad0 00000000 3ffeec28 40205a8c 3fffffc0: feefeffe feefeffe 3ffe8524 4010010d <<<stack<<< ⸮⸮⸮⸮z9⸮⸮60 MCO:BGN:INIT GW,CP=RRNGE---,REL=255,VER=2.3.1 112 TSF:LRT:OK 128 TSM:INIT 141 TSF:WUR:MS=0 161 TSM:INIT:TSP OK scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 3 cnt connected with myfi, channel 7 dhcp client start... ip:192.168.1.12,mask:255.255.255.0,gw:192.168.1.1 377 TSM:INIT:GW MODE 399 TSM:READY:ID=0,PAR=0,DIS=0 432 MCO:REG:NOT NEEDED 457 MCO:BGN:STP *WM: *WM: AutoConnect *WM: Connecting as wifi client... *WM: Already coWebServer started... *WM: freeing allocated params! 552 MCO:BGN:INIT OK,TSP=1 636 TSM:READY:NWD REQ 1878 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
-
RE: What did you build today (Pictures) ?
@pihome just realized one big blunder, The NSS, MOSI and SCK are not 5V tolerant on RFM69. hence need level converter
i was wondering is there any one ic can can do instead i have to used BSS138 per pin. -
RE: What did you build today (Pictures) ?
working on GPIO MySensors Gateway
-
RE: Arduino with voltage regulator
thank you guys for explaining this, some times asking question is easy then googling around and finding contradicting answers.
-
Arduino with voltage regulator
Hi All,
first of all sorry if its way basic question but i need bit of advise before i go crazy over voltage regulator and how people are using it.
if you look at typical applications for the mic5219 regulator it has no capacitor on input and on output it 2.2uf tantalum and 470pf but when i look at all arduino board design and schematics i see 10uf on input, and on output 10uf, 0.1uf capacitor. Can someone with better hardware understanding shed some light on this for mesparkfun schematic
https://cdn.sparkfun.com/datasheets/Dev/Arduino/Boards/Arduino-Pro-Mini-v14.pdfvoltage regulator data-sheet
https://cdn-shop.adafruit.com/product-files/3081/mic5219.pdf -
RE: What did you build today (Pictures) ?
Very first attempt to solder smd components on pcb with hot air soldering station. lots of mistakes but i m learning...
-
RE: Raspberry Pi3 alternative?
@alowhum
All of them from Amazon sold by Amazon, i m out of ideas how and where to get genuine sd cards -
RE: Raspberry Pi3 alternative?
may be its time for Raspberry pi foundation to put some storage on the board, these fake cards are very unreliable and i think small pc is better option then Raspberry pi at this stage.
-
RE: Raspberry Pi3 alternative?
i know this is old thread but here is what i have to deal with, truck load of different sd card ordered from amazon from different supplier, some full filled by amazon and some sold by amazon and all of them are fake and devil is in serial number so until you order more then one SD card you can never know if its real or fake.
-
RE: 💬 OpenTherm Adapter
any reason this is deleted from Openhardware site?
-
RE: ds18b20 on 2xAAA battery
@avelo
thank you for suggestion, i have made prototype based on MIC5219-3.3
but sure TPS61291 / TPS61221 are good options. once i get pcb delivered i'll you know here. -
RE: ds18b20 on 2xAAA battery
@bjacobse
reason behind 1mhz mcu is to run it on lower voltage but switching between speed still need higher voltage. if i m not wrong!!! -
RE: ds18b20 on 2xAAA battery
Life is never easy and definitely not straight, there is always something wrong perhaps back to educating myself...
-
RE: 💬 MySensors Low-power Multi-function node on CR2032
it would be interesting to see what sleep function does, may be need to read library code to understand this in more detailed.
-
RE: 💬 OpenTherm Adapter
your work gave me starting point but there is lot to learn/read about this.... thank you for sharing,
-
RE: ds18b20 on 2xAAA battery
further update:
while playing with 1mhz bootloader and feeding arduino to raw pin from 18650 battery, sensors is successfully sending battery voltage and battery percentage but no temperature sensor reading. to prove that something isnt right with 1mhz bootloader i burned 8mhz default bootloader i get battery voltage, battery percentage and temperature reading. can not think of something obviousLink to 1mhz bootloader
-
RE: Soldering station
@skywatch great video and thank you for sharing,
@bjacobse i was thinking something similar to preheat pcb and solder with very low airflow from hotairgun -
RE: 💬 MySensors Low-power Multi-function node on CR2032
@Fanfan 20mA during transmission is higher then mine but then i have cheap chines version of multimeter may be its not very accurate as yours. are you using any low clock bootloader?
Power consumption with onboard regulator and onboard LEDs removed without any further modification:
18.11 mA startup
66.9 uA during sleeping
3.01 mA during TransmissionPro mini with 1mhz bootloader and on board regulator/LEDs removed:
14.42 mA startup
7.50 uA during sleeping
1.40 mA during Transmission -
RE: Soldering station
i think Weller WS81 is soldering iron but i m looking for hot air version for smd components.
-
RE: Soldering station
@Yveaux i would love to buy JBC but they are over my budget.
@skywatch that is very good price, did you use hot air for smd? can you control fan speed? -
RE: Soldering station
@mfalkvidd
waoo how i missed this, very good price if you ask me, i been holding myself for this one one amazon
https://www.amazon.co.uk/Soldering-Station-Solder-Rework-Desoldering/dp/B07BFBL7PV/ref=pd_sbs_60_6/262-3928127-6948652?_encoding=UTF8&pd_rd_i=B07BFBL7PV&pd_rd_r=53a4a3be-8638-11e9-8485-0974c0711c2f&pd_rd_w=1dc1u&pd_rd_wg=egP88&pf_rd_p=18edf98b-139a-41ee-bb40-d725dd59d1d3&pf_rd_r=AW2BN6NHCS95RCAXMEBV&psc=1&refRID=AW2BN6NHCS95RCAXMEBV -
Soldering station
as title says can anyone recommend soldering station for smd components, i m checking on amazon but very hard to decide tons of options so what i need to look for and any preference experience you would have?
-
RE: ds18b20 on 2xAAA battery
@zboblamont,
yes you are right it is pure luck, i just wanted to check i m not doing anything stupid and said pair of eyes are always good. i have ordered the parts and i m going to work on two version: one with boost convert for sensor and second 3xAAA with voltage regulator and probably 3rd version (may be in future when i get some free time) with boost converter with shutdown, may be some one already have done this and my search string isnt very good to dig that out. -
RE: ds18b20 on 2xAAA battery
i must admit you are lucky or your sensors dont care about voltage but at this stage after reading your comments i have tried 3 different sensors and all the same result
may be something is in my sketch ?
// _____ _ _ _ // | __ \ (_) | | | | // | |__) | _ | |__| | ___ _ __ ___ ___ // | ___/ | | | __ | / _ \ | |_ \_ \ / _ \ // | | | | | | | | | (_) | | | | | | | | __/ // |_| |_| |_| |_| \___/ |_| |_| |_| \___| // // S M A R T H E A T I N G C O N T R O L // ***************************************************************** // * Battery Powered OneWire DS18B20 Temperature Sensor * // * Version 0.31 Build Date 06/11/2017 * // * Last Modification Date 09/05/2019 * // * Have Fun - PiHome.eu * // ***************************************************************** // Enable debug prints to serial monitor //#define MY_DEBUG // Enable and select radio type attached #define MY_RADIO_RF24 //#define MY_RADIO_NRF5_ESB //#define MY_RADIO_RFM69 //#define MY_RADIO_RFM95 // Set LOW transmit power level as default, if you have an amplified NRF-module and // power your radio separately with a good regulator you can turn up PA level. // #define MY_RF24_PA_LEVEL RF24_PA_LOW // RF24_PA_MIN RF24_PA_LOW RF24_PA_HIGH RF24_PA_MAX RF24_PA_ERROR #define MY_RF24_PA_LEVEL RF24_PA_MIN //#define MY_DEBUG_VERBOSE_RF24 // RF channel for the sensor net, 0-127 Default is 76 #define MY_RF24_CHANNEL 76 //PiHome - Make Sure you change Node ID, for each temperature sensor. 21 for Ground Floor, 20 for First Floor, 30 for Domastic Hot Water. #define MY_NODE_ID 33 //RF24_250KBPS for 250kbs, RF24_1MBPS for 1Mbps, or RF24_2MBPS for 2Mbps #define RF24_DATARATE RF24_250KBPS // Set baud rate to same as optibot //#define MY_BAUD_RATE 9600 //set how long to wait for transport ready in milliseconds //#define MY_TRANSPORT_WAIT_READY_MS 3000 //#include <SPI.h> #include <MySensors.h> #include <DallasTemperature.h> #include <OneWire.h> #define ledpin 4 // LED for one Blink Power On, Solid LED for No sensors, 5 Blinks for no Radio (this settings is in MySensors.cpp) and three blinks for low battery // Define sensor node childs #define CHILD_ID_BATT 1 #define CHILD_ID_TEMP 0 #define COMPARE_TEMP 1 // Send temperature only if changed? 1 = Yes 0 = No #define COMPARE_BVOLT 1 // Send battery voltage only if changed? 1 = Yes 0 = No #define ONE_WIRE_BUS 3 // Pin where dallase sensor is connected #define MAX_ATTACHED_DS18B20 2 unsigned long SLEEP_TIME = 56000; // Sleep time between reads (in milliseconds) // Battery related init int BATTERY_SENSE_PIN = A0; // select the input pin for the battery sense point float oldBatteryV = 0; MyMessage msgBatt(CHILD_ID_BATT, V_VOLTAGE); // Dallas Temperature related init OneWire oneWire(ONE_WIRE_BUS); // Setup a oneWire instance to communicate with any OneWire devices (not just Maxim/Dallas temperature ICs) DallasTemperature sensors(&oneWire); // Pass the oneWire reference to Dallas Temperature. float lastTemperature[MAX_ATTACHED_DS18B20]; int numSensors=0; bool receivedConfig = false; bool metric = true; // Initialize temperature message MyMessage msg(CHILD_ID_TEMP, V_TEMP); void before(){ // Startup up the OneWire library sensors.begin(); } void setup(){ //This is LED pin set to output and turn it on for short while pinMode(ledpin, OUTPUT); digitalWrite(ledpin, HIGH); delay(60); digitalWrite(ledpin, LOW); // requestTemperatures() will not block current thread sensors.setWaitForConversion(false); // needed for battery soc // use the 1.1 V internal reference #if defined(__AVR_ATmega2560__) analogReference(INTERNAL1V1); #else analogReference(INTERNAL); #endif // disable ADC //ADCSRA = 0; //power_usart0_disable();// Serial (USART) //power_adc_disable(); // ADC converter //power_twi_enable(); // TWI (I2C) } void presentation() { // Send the sketch version information to the gateway and Controller sendSketchInfo("Temperature Sensor", "0.31"); // Fetch the number of attached temperature sensors numSensors = sensors.getDeviceCount(); //Blink LED as number of sensors attached blink_led(numSensors, ledpin); //check if attached sensors number is grater then 0 if no then put led on solid #if numSensors > 0 digitalWrite(ledpin, HIGH); #else digitalWrite(ledpin, LOW); #endif // Present all sensors to controller for (int i=0; i<numSensors && i<MAX_ATTACHED_DS18B20; i++) { present(i, S_TEMP); } } void loop(){ // get the battery Voltage //ref http://www.ohmslawcalculator.com/voltage-divider-calculator // Sense point is bypassed with 0.1 uF cap to reduce noise at that point // 1M, 100K divider across battery and using internal ADC ref of 1.1V // ((1e6+100e3)/100e3)*1.1 = Vmax = 12.1 Volts // 12.1/1023 = Volts per bit = 0.011828 //R1 820k, R2 220k //((820e3+220e3)/220e3)*1.1 = Vmax = 5.2 Volts //5.2/1023 = Volts per bit = 0.005083089 int battSensorValue = analogRead(BATTERY_SENSE_PIN); //float batteryV = battSensorValue * 0.005083089; //R1 820k, R2 220k divider across battery and using internal ADC ref of 1.1v float batteryV = battSensorValue * 0.011828; //R1 1M, R2 100K divider across battery and using internal ADC ref of 1.1v //int batteryPcnt = ( ( batteryV - 2.9 ) / ( ( 4.2 - 2.9 ) / 100 ) ); // for 18650 Battery Powred int batteryPcnt = ( ( batteryV - 2.1 ) / ( ( 3.0 - 2.1 ) / 100 ) ); // for AAA Battery Powered #ifdef MY_DEBUG Serial.print("Pin Reading: "); Serial.println(battSensorValue); Serial.print("Battery Voltage: "); Serial.print(batteryV); Serial.println(" v"); //Print Battery Percentage Serial.print("Battery percent: "); Serial.print(batteryPcnt); Serial.println(" %"); #endif #if COMPARE_BVOLT == 1 if (oldBatteryV != batteryV) { send(msgBatt.set(batteryV, 2)); sendBatteryLevel(batteryPcnt); oldBatteryV = batteryV; } #else send(msgBatt.set(batteryV, 2)); sendBatteryLevel(batteryPcnt); oldBatteryV = batteryV; #endif // Fetch temperatures from Dallas sensors sensors.requestTemperatures(); // query conversion time and sleep until conversion completed int16_t conversionTime = sensors.millisToWaitForConversion(sensors.getResolution()); //sleep() call can be replaced by wait() call if node need to process incoming messages (or if node is repeater) sleep(conversionTime); // Read temperatures and send them to controller for (int i=0; i<numSensors && i<MAX_ATTACHED_DS18B20; i++) { // Fetch and round temperature to one decimal float temperature = static_cast<float>(static_cast<int>((getControllerConfig().isMetric?sensors.getTempCByIndex(i):sensors.getTempFByIndex(i)) * 10.)) / 10.; // Only send data if temperature has changed and no error #if COMPARE_TEMP == 1 if (lastTemperature[i] != temperature && temperature != -127.00 && temperature != 85.00) { #else if (temperature != -127.00 && temperature != 85.00) { #endif // Send in the new temperature send(msg.setSensor(i).set(temperature,1)); // Save new temperatures for next compare lastTemperature[i]=temperature; } } //Condition to check battery levell is lower then minimum then blink led 3 times //if (batteryV < 2.9) { //for 18650 Battery Powered Sensor if (batteryV < 2.0) { //for AAA Battery Powered Sensor blink_led(3, ledpin); //Serial.print("Low Voltage"); } //go to sleep for while //smartSleep(SLEEP_TIME); sleep(SLEEP_TIME); } //Blink LED function, pass ping number and number of blinks usage: blink_led(variable or number of time blink, ledpin); void blink_led(int count, int pin){ for(int i=0;i<count;i++){ digitalWrite(pin, HIGH); delay(700); digitalWrite(pin, LOW); delay(700); } }
-
RE: ds18b20 on 2xAAA battery
@kimot said in ds18b20 on 2xAAA battery:
MIC5219
you are right i think i have to go back to drawing board and re-evaluate my design. thanks for reply.
-
RE: ds18b20 on 2xAAA battery
@zboblamont
you are right one battery powered sensor for each zone and reading once every minute and no cables to sensors. but during sleep time VR will consume power, i had thought about 3x AAA battery on the back of pcb but i n using tht nrf or perhaps i have to rethink the whole design. -
RE: ds18b20 on 2xAAA battery
so far i have temperature sensors running on 18650 battery by feeding to raw pin on arduino and it works fine now i'm switching to 2xAAA battery and at this stage i think i have no option but to go for boost converter to power sensor on the node, i wish i had space in sensor box i m using for 3xAAA batteries.
MIC5219-3.3BM5 is good option but it has minimum Input Voltage 2.5v, with good Quiescent 8µA but i think i m leaning toward TPS613221A boost convert chip i know it does not have shutdown option but very low quiescent current of 6.5uA, here is unfinished prototype pcb design. -
RE: ds18b20 on 2xAAA battery
@nagelc,
you AA batteries must be 1.6 or above voltage, as mine had same voltage, in other words when new batteries were supplying 1.6v/AAA it was working fine as soon as voltage dropped to 3.0 temperature sensors stoped, node is sending battery voltage which mean node and radio working fine but ds18b20 stopped. -
RE: ds18b20 on 2xAAA battery
@mfalkvidd having multiple batteries in confined space isn't option.
i m leaning towards this Boost Converter -
RE: ds18b20 on 2xAAA battery
@zboblamont, i love your analogy about ash-try in car.
i just feed arduino with 1mhz bootloader through raw pin with 2xAAA batteries (i know it was very long shot) and it didnt work onboard regulator can not supply enough voltage to ds18b20, but sure i need to look into boost converter.
before i dive into boost convert i wanted to ask what others are doing and how they are managing voltage for voltage hungry sensors. i have found few examples on openhardware.io all of them are by @NeverDie -
RE: ds18b20 on 2xAAA battery
i have done some testing for power consumption, these enamourments are taken using cheap chines multimeter.
Power consumption when powered by 18650 battery with onboard regulator and power and pin 13 led removed without any further modification:
18.11 mA startup
66.9 uA during sleeping
3.01 mA during TransmissionPro mini with 1mhz bootloader and on board regulator/LED removed:
14.42 mA startup
7.50 uA during sleeping
1.40 mA during Transmission@zboblamont, i was thinking the same to power on/off boost converter to save some battery. but need to test this and may be integrate boost converter into my pcb.
@kimot, sorry haven't checked self discharge of any battery also i m trying to fit this temperature sensors in
small boxi would prefer to use ds18b20 sensors but also if battery works for 1 to 1.5 years i m happy with that. any suggestion on boost converter?
-
ds18b20 on 2xAAA battery
Hi All,
i have nodes running on 18650 battery on Arduino mini pro 8mhz (3.3v) without much modification or any low power bootloader but now i want to switch to AAA battery to keep everything tidy and need but one issue ds18b20 requires 3.3v whereas 2xAAA can supply 3v, now million dollar question is what you guys doing to supply 3.3v to ds18b20? boost converter consume power as well and all on ebay/aliexpress ones are seems very power hungry (Quiescent current 13uA).
https://www.aliexpress.com/item/32800430445.html?spm=2114.search0104.3.219.5b3d1a25h7pRRv&ws_ab_test=searchweb0_0%2Csearchweb201602_2_10065_10068_319_10059_10884_317_10887_10696_321_322_10084_453_10083_454_10103_10618_10304_10307_10820_10821_537_10302_536%2Csearchweb201603_51%2CppcSwitch_0&algo_expid=e6ec65d0-b780-4c66-b06a-52134fa6c454-31&algo_pvid=e6ec65d0-b780-4c66-b06a-52134fa6c454&transAbTest=ae803_3
i m thinking to find alternate to ds18b20 that can run reliably on 2v,
any thoughts or suggestions? -
RE: [Tutorial] How to burn 1Mhz & 8Mhz bootloader using Arduino IDE 1.6.5-r5
First of all thanks to all who worked on this tutorial and bootloaders. i got fascinated about 8mhz and 1mhz with internal clock after reading this tutorial.
Some might say 1mhz 8 times slower then 8mhz hence need longer awake time to do perform task before it can go back to sleep and consumes more power but what i found: point is not it takes 8 times longer to perform task but it can run it on battery longer and on lower voltage when battery ist at its peak youth.
Anyway i wanted to share my experience and errors i had and the fix i found after googling around and spending hours trying to figure out what is going on.
if you follow instructions as it is then you will end up with second boards.txt file located at C:\Program Files (x86)\Arduino\hardware\breadboard\avr\boards.txt, this file contact info about ATmegaBOOT_168_atmega328_pro_8MHz.hex only. So far so good and it works but for some reason when i try to add 1mhz bootloader to C:\Program Files (x86)\Arduino\hardware\arduino\avr\boards.txt it just wouldn't work, the 1mhz bootloader wouldn't show in in board selection option but if i add info about 1mhz bootloader to "C:\Program Files (x86)\Arduino\hardware\breadboard\avr\boards.txt" then i could see option for "APM Optiboot internal 1MHz noBOD 9600baud" but when i try to burn this bootloader i get all sorts of error on burning bootloader, one of the error: Could not find tool avrdude (sorry didn't copy all error messages)
Then some forums suggest to start clean i.e uninstall Arduino ID and reinstall but simply uninstalling and reinstalling ID doesn't work you need to delete Arduino15 folder from following location(s) and reinstall Arduino ID:
C:\Users(username)\AppData\Local\Arduino15 or C:\Users<username>\AppData\Roaming\Arduino15 or C:\Users<username>\AppData\Local\Arduino15What i think is best to keep your boards.txt file in one location and modify it and add bootloaders in it and this worked for me. Simply copy your bootloaders to C:\Program Files (x86)\Arduino\hardware\arduino\avr\bootloaders and modify C:\Program Files (x86)\Arduino\hardware\arduino\avr\boards.txt for additional bootloaders.
here is my boards.txt############################################################## # Add the new board to boards.txt (normally located at "C:\Program Files\Arduino\hardware\arduino\avr" # The *.bootloader.* etries only matters if you want to program bootloader (and fuses) from Arduino IDE. # See http://www.engbedded.com/fusecalc (select Atmega328p) for interpretation of fuse values and how # extended fuses are written in different applications (07h in Arduino IDE = FFh in Atmel studio). ############################################################## apm96.name=APM Optiboot internal 1MHz noBOD 9600baud apm96.upload.tool=avrdude apm96.upload.protocol=arduino apm96.upload.maximum_size=32256 apm96.upload.speed=9600 apm96.bootloader.tool=avrdude apm96.bootloader.low_fuses=0x62 apm96.bootloader.high_fuses=0xde # all the possible values: #bootloader.extended_fuses=0x04 -> BOD at 4.3V #bootloader.extended_fuses=0x05 -> BOD at 2.7V #bootloader.extended_fuses=0x06 -> BOD at 1.8V #bootloader.extended_fuses=0x07 -> BOD disabled apm96.bootloader.extended_fuses=0x07 apm96.bootloader.path=optiboot_v50 apm96.bootloader.file=atmega328_1a.hex apm96.bootloader.unlock_bits=0x3F apm96.bootloader.lock_bits=0x2F apm96.build.mcu=atmega328p apm96.build.f_cpu=1000000L apm96.build.core=arduino apm96.build.variant=standard ############################################################## ############################################################## atmega328bb.name=ATmega328 on a breadboard (8 MHz internal clock) atmega328bb.upload.protocol=arduino atmega328bb.upload.maximum_size=30720 atmega328bb.upload.speed=57600 atmega328bb.bootloader.low_fuses=0xE2 atmega328bb.bootloader.high_fuses=0xDA atmega328bb.bootloader.extended_fuses=0x05 atmega328bb.bootloader.file=atmega/ATmegaBOOT_168_atmega328_pro_8MHz.hex atmega328bb.bootloader.unlock_bits=0x3F atmega328bb.bootloader.lock_bits=0x0F atmega328bb.build.mcu=atmega328p atmega328bb.build.f_cpu=8000000L atmega328bb.build.core=arduino:arduino atmega328bb.build.variant=arduino:standard atmega328bb.bootloader.tool=arduino:avrdude atmega328bb.upload.tool=arduino:avrdude```
-
RE: 💬 MySensors Low-power Multi-function node on CR2032
@fanfan
I been using temperature sensors with 8Mhz without any custom bootloader or any other modifications on 18650 battery for over 2 years, sensor read temperature once every minute and go to sleep, haven’t done any battery consumption calculations, i m switching from 18650 battery to AAA or AA batteries hence need for power saving -
RE: 💬 MySensors Low-power Multi-function node on CR2032
@Fanfan
what is battery life like running uC at 1Mhz? -
RE: ESP8266 gateway + WebServer = Awesome!
@mfalkvidd I know this is very old post but I stumble upon this while looking for esp gateway wifimanager git, can you share ur code if you don’t mind, save me time on re-inventing the wheel again...
-
RE: Ethernet Gateway with Nano - Invalid message length, 0 (actual) != 7 (expected)
@Yveaux
thank you for reply, found something similar for 5v, just in case some one stumble upon this.+5V Output or Input +5V Output (From On-board Regulator) or +5V (Input from External Power Supply
ref: http://www.circuitstoday.com/arduino-nano-tutorial-pinout-schematics
-
RE: Ethernet Gateway with Nano - Invalid message length, 0 (actual) != 7 (expected)
Hi Guys,
while troubleshooting Ethernet gateway, i discover my arduino nano voltage on different pin as i wasn't sure from where to feed power to W51000 module just decided to check voltage on these three different pins and to my surprise all three gives different values . i can not find any decent schematic to check reason for these different voltage. can some shed some light please... i always thought 5v is straight from usb connector without any regulator etc...voltage at USB connector 5.11v
VIN Pin 4.33v
5v Pin 4.76v -
RE: Build a reliable power supply chain
@mathea90
i m using nRF24L01+ PA LNA shielded version on another thread some one suggest to use inductor (33uH) but i m waiting for delivery from aliexpress to check that as well.
my gateway is getting power from PC through usb cable and i m not sure how much current pc usb can supply. i think i need to re-think this power supply part to my gateway.ps i m using HLK-PM01 on some nodes
-
RE: Clock with temperature, humidity and CO2 level sensors
@user2684 looks very nice. Can you share wiring.
-
RE: Build a reliable power supply chain
what i have and it is working so far but not for W5100 gateway.
5v--10uF----1uF----(1117 3.3v)----10uf----1uf---->3.3v for nRF
have you tried your schematic for W5100 gateway? i m having some issues with W5100 waiting for some parts to get delivered. another 3 weeks to go ....
-
RE: ERROR connect: Connection refused: Gateway on Raspberry pi 3 Model B Rev: 1.2
@mfalkvidd thank, i got it working but i think pi gateway isn't reliable or its just me once every while i get DEBUG !TSF:RTE:100 UNKNOWN whereas esp gateway works flawless
Aug 05 11:31:36 INFO Starting gateway... Aug 05 11:31:36 INFO Protocol version - 2.3.0 Aug 05 11:31:36 DEBUG Serial port /dev/ttyMySensorsGateway (115200 baud) created Aug 05 11:31:36 DEBUG MCO:BGN:INIT GW,CP=RNNGL-Q-,VER=2.3.0 Aug 05 11:31:36 DEBUG TSF:LRT:OK Aug 05 11:31:36 DEBUG TSM:INIT Aug 05 11:31:36 DEBUG TSF:WUR:MS=0 Aug 05 11:31:36 DEBUG TSM:INIT:TSP OK Aug 05 11:31:36 DEBUG TSM:INIT:GW MODE Aug 05 11:31:36 DEBUG TSM:READY:ID=0,PAR=0,DIS=0 Aug 05 11:31:36 DEBUG MCO:REG:NOT NEEDED Aug 05 11:31:36 DEBUG MCO:BGN:STP Aug 05 11:31:36 DEBUG MCO:BGN:INIT OK,TSP=1 Aug 05 11:31:45 DEBUG TSF:MSG:READ,26-26-0,s=255,c=3,t=0,pt=1,l=1,sg=0:82 Aug 05 11:32:23 DEBUG TSF:MSG:READ,25-25-0,s=1,c=1,t=38,pt=7,l=5,sg=0:0.28 Aug 05 11:32:23 DEBUG TSF:MSG:READ,25-25-0,s=255,c=3,t=0,pt=1,l=1,sg=0:6 Aug 05 11:32:27 DEBUG TSF:MSG:READ,21-21-0,s=0,c=1,t=0,pt=7,l=5,sg=0:23.0 Aug 05 11:32:45 DEBUG TSF:MSG:READ,26-26-0,s=255,c=3,t=0,pt=1,l=1,sg=0:82 Aug 05 11:33:25 DEBUG TSF:MSG:READ,25-25-0,s=1,c=1,t=38,pt=7,l=5,sg=0:0.28 Aug 05 11:33:25 DEBUG TSF:MSG:READ,25-25-0,s=255,c=3,t=0,pt=1,l=1,sg=0:6 Aug 05 11:33:45 DEBUG TSF:MSG:READ,26-26-0,s=1,c=1,t=38,pt=7,l=5,sg=0:3.45 Aug 05 11:33:45 DEBUG TSF:MSG:READ,26-26-0,s=255,c=3,t=0,pt=1,l=1,sg=0:82 Aug 05 11:34:01 DEBUG TSF:MSG:SEND,0-0-101-101,s=1,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=OK:0 Aug 05 11:34:01 DEBUG TSF:MSG:READ,101-101-0,s=1,c=1,t=2,pt=0,l=2,sg=0:0 Aug 05 11:34:01 DEBUG TSF:MSG:ACK Aug 05 11:34:02 DEBUG TSF:MSG:SEND,0-0-101-101,s=3,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=OK:0 Aug 05 11:34:02 DEBUG TSF:MSG:READ,101-101-0,s=3,c=1,t=2,pt=0,l=2,sg=0:0 Aug 05 11:34:02 DEBUG TSF:MSG:ACK Aug 05 11:34:03 DEBUG !TSF:RTE:100 UNKNOWN Aug 05 11:34:03 DEBUG !TSF:MSG:SEND,0-0-100-100,s=1,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=NACK:0 Aug 05 11:34:26 DEBUG TSF:MSG:READ,25-25-0,s=1,c=1,t=38,pt=7,l=5,sg=0:0.28 Aug 05 11:34:26 DEBUG TSF:MSG:READ,25-25-0,s=255,c=3,t=0,pt=1,l=1,sg=0:6 Aug 05 11:34:27 DEBUG TSF:MSG:READ,25-25-0,s=0,c=1,t=0,pt=7,l=5,sg=0:23.4 Aug 05 11:34:46 DEBUG TSF:MSG:READ,26-26-0,s=1,c=1,t=38,pt=7,l=5,sg=0:3.45 Aug 05 11:35:02 DEBUG TSF:MSG:SEND,0-0-101-101,s=1,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=OK:0 Aug 05 11:35:02 DEBUG TSF:MSG:READ,101-101-0,s=1,c=1,t=2,pt=0,l=2,sg=0:0 Aug 05 11:35:02 DEBUG TSF:MSG:ACK Aug 05 11:35:03 DEBUG TSF:MSG:SEND,0-0-101-101,s=3,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=OK:0 Aug 05 11:35:03 DEBUG TSF:MSG:READ,101-101-0,s=3,c=1,t=2,pt=0,l=2,sg=0:0 Aug 05 11:35:03 DEBUG TSF:MSG:ACK Aug 05 11:35:04 DEBUG !TSF:RTE:100 UNKNOWN Aug 05 11:35:04 DEBUG !TSF:MSG:SEND,0-0-100-100,s=1,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=NACK:0 Aug 05 11:35:18 DEBUG TSF:MSG:READ,20-20-0,s=0,c=1,t=0,pt=7,l=5,sg=0:21.3 Aug 05 11:35:28 DEBUG TSF:MSG:READ,25-25-0,s=1,c=1,t=38,pt=7,l=5,sg=0:0.28 Aug 05 11:35:28 DEBUG TSF:MSG:READ,25-25-0,s=255,c=3,t=0,pt=1,l=1,sg=0:6 Aug 05 11:35:29 DEBUG TSF:MSG:READ,25-25-0,s=0,c=1,t=0,pt=7,l=5,sg=0:23.5 Aug 05 11:36:01 DEBUG TSF:MSG:SEND,0-0-101-101,s=1,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=OK:0 Aug 05 11:36:01 DEBUG TSF:MSG:READ,101-101-0,s=1,c=1,t=2,pt=0,l=2,sg=0:0 Aug 05 11:36:01 DEBUG TSF:MSG:ACK Aug 05 11:36:02 DEBUG TSF:MSG:SEND,0-0-101-101,s=2,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=OK:0 Aug 05 11:36:02 DEBUG TSF:MSG:READ,101-101-0,s=2,c=1,t=2,pt=0,l=2,sg=0:0 Aug 05 11:36:02 DEBUG TSF:MSG:ACK Aug 05 11:36:03 DEBUG !TSF:RTE:100 UNKNOWN Aug 05 11:36:03 DEBUG !TSF:MSG:SEND,0-0-100-100,s=1,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=NACK:0 Aug 05 11:36:16 DEBUG TSF:MSG:READ,101-101-255,s=255,c=3,t=7,pt=0,l=0,sg=0: Aug 05 11:36:16 DEBUG TSF:MSG:BC Aug 05 11:36:16 DEBUG TSF:MSG:FPAR REQ,ID=101 Aug 05 11:36:16 DEBUG TSF:PNG:SEND,TO=0 Aug 05 11:36:16 DEBUG TSF:CKU:OK Aug 05 11:36:16 DEBUG TSF:MSG:GWL OK Aug 05 11:36:17 DEBUG TSF:MSG:SEND,0-0-101-101,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 Aug 05 11:36:17 DEBUG TSF:MSG:READ,20-20-0,s=0,c=1,t=0,pt=7,l=5,sg=0:21.2 Aug 05 11:36:18 DEBUG TSF:MSG:READ,101-101-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1 Aug 05 11:36:18 DEBUG TSF:MSG:PINGED,ID=101,HP=1 Aug 05 11:36:18 DEBUG TSF:MSG:SEND,0-0-101-101,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=OK:1 Aug 05 11:36:18 DEBUG TSF:MSG:READ,101-101-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 Aug 05 11:36:18 DEBUG TSF:MSG:SEND,0-0-101-101,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 Aug 05 11:36:18 DEBUG TSF:MSG:READ,101-101-0,s=255,c=0,t=18,pt=0,l=5,sg=0:2.1.1 Aug 05 11:36:18 DEBUG TSF:MSG:READ,101-101-0,s=255,c=3,t=6,pt=1,l=1,sg=0:0 Aug 05 11:36:20 DEBUG TSF:MSG:READ,101-101-0,s=255,c=3,t=11,pt=0,l=21,sg=0:Zone Controller Relay Aug 05 11:36:20 DEBUG TSF:MSG:READ,101-101-0,s=255,c=3,t=12,pt=0,l=3,sg=0:1.2 Aug 05 11:36:20 DEBUG TSF:MSG:READ,101-101-0,s=1,c=0,t=3,pt=0,l=0,sg=0: Aug 05 11:36:20 DEBUG TSF:MSG:READ,101-101-0,s=2,c=0,t=3,pt=0,l=0,sg=0: Aug 05 11:36:20 DEBUG TSF:MSG:READ,101-101-0,s=3,c=0,t=3,pt=0,l=0,sg=0: Aug 05 11:36:20 DEBUG TSF:MSG:READ,101-101-0,s=4,c=0,t=3,pt=0,l=0,sg=0: Aug 05 11:36:20 DEBUG TSF:MSG:READ,101-101-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2 Aug 05 11:36:20 DEBUG TSF:MSG:SEND,0-0-101-101,s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=OK:1 Aug 05 11:36:30 DEBUG TSF:MSG:READ,21-21-0,s=0,c=1,t=0,pt=7,l=5,sg=0:22.9 Aug 05 11:36:30 DEBUG TSF:MSG:READ,25-25-0,s=1,c=1,t=38,pt=7,l=5,sg=0:0.28 Aug 05 11:36:30 DEBUG TSF:MSG:READ,25-25-0,s=255,c=3,t=0,pt=1,l=1,sg=0:6 Aug 05 11:36:46 DEBUG TSF:MSG:READ,26-26-0,s=1,c=1,t=38,pt=7,l=5,sg=0:3.45 Aug 05 11:36:46 DEBUG TSF:MSG:READ,26-26-0,s=255,c=3,t=0,pt=1,l=1,sg=0:82 Aug 05 11:37:02 DEBUG TSF:MSG:SEND,0-0-101-101,s=1,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=OK:0 Aug 05 11:37:02 DEBUG TSF:MSG:READ,101-101-0,s=1,c=1,t=2,pt=0,l=2,sg=0:0 Aug 05 11:37:02 DEBUG TSF:MSG:ACK Aug 05 11:37:03 DEBUG TSF:MSG:SEND,0-0-101-101,s=3,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=OK:0 Aug 05 11:37:03 DEBUG TSF:MSG:READ,101-101-0,s=3,c=1,t=2,pt=0,l=2,sg=0:0 Aug 05 11:37:03 DEBUG TSF:MSG:ACK Aug 05 11:37:04 DEBUG !TSF:RTE:100 UNKNOWN Aug 05 11:37:04 DEBUG !TSF:MSG:SEND,0-0-100-100,s=1,c=1,t=2,pt=0,l=2,sg=0,ft=0,st=NACK:0 Aug 05 11:37:30 DEBUG TSF:MSG:READ,21-21-0,s=0,c=1,t=0,pt=7,l=5,sg=0:23.0 Aug 05 11:37:32 DEBUG TSF:MSG:READ,25-25-0,s=1,c=1,t=38,pt=7,l=5,sg=0:0.28 Aug 05 11:37:32 DEBUG TSF:MSG:READ,25-25-0,s=255,c=3,t=0,pt=1,l=1,sg=0:6
-
RE: ERROR connect: Connection refused: Gateway on Raspberry pi 3 Model B Rev: 1.2
@mfalkvidd, my understanding of raspberry pi gateway: process run and you can connect to that process over ip, or i m in wonder land and gateway on pi isn’t the same as gateway on esp?
-
ERROR connect: Connection refused: Gateway on Raspberry pi 3 Model B Rev: 1.2
Hi Guys,
i m trying to build Raspberry pi gateway all build process works ok, my steps to build gateway i tried with my raspberry pi ip address as well but same result.git clone https://github.com/mysensors/MySensors.git --branch master cd MySensors ./configure --my-transport=nrf24 ./configure --my-gateway=ethernet --my-port=5003 ./configure --my-gateway=ethernet --my-controller-url-address=127.0.0.1 make
but then when i run gateway it get following
Aug 03 18:59:04 INFO Starting gateway... Aug 03 18:59:04 INFO Protocol version - 2.3.0 Aug 03 18:59:04 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,VER=2.3.0 Aug 03 18:59:04 DEBUG TSF:LRT:OK Aug 03 18:59:04 DEBUG TSM:INIT Aug 03 18:59:04 DEBUG TSF:WUR:MS=0 Aug 03 18:59:04 DEBUG TSM:INIT:TSP OK Aug 03 18:59:04 DEBUG TSM:INIT:GW MODE Aug 03 18:59:04 DEBUG TSM:READY:ID=0,PAR=0,DIS=0 Aug 03 18:59:04 DEBUG MCO:REG:NOT NEEDED Aug 03 18:59:04 ERROR connect: Connection refused Aug 03 18:59:04 ERROR failed to connect Aug 03 18:59:04 DEBUG GWT:TIN:ETH OK Aug 03 18:59:04 ERROR connect: Connection refused Aug 03 18:59:04 ERROR failed to connect Aug 03 18:59:04 DEBUG GWT:TPS:ETH OK
i have following nrf module it works ok on ESP
nrf24 -
RE: Enclosure for Temp + Humidity node with OLED display
Can you share sketch and connection?
-
RE: Ethernet Gateway with Nano - Invalid message length, 0 (actual) != 7 (expected)
@Yveaux
thank you for help, downgrading to the 1.16.11 version fixed the disconnection issue. now back to power problem, i have order inductors to test this but it need another 4 weeksHow to Change to version 1.116.11
172pilot: "Tools, Board, and at the top of the list, choose board manager, click in the window for "Arduino AVR Boards" and it will give you a pull-down for 'version' in the bottom left. Choose your 1.16.11 version, and click install.."0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1 0;255;3;0;9;TSM:INIT 0;255;3;0;9;TSF:WUR:MS=0 0;255;3;0;9;TSM:INIT:TSP OK 0;255;3;0;9;TSM:INIT:GW MODE 0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0 0;255;3;0;9;MCO:REG:NOT NEEDED IP: 192.168.99.5 0;255;3;0;9;MCO:BGN:STP 0;255;3;0;9;MCO:BGN:INIT OK,TSP=1 0;255;3;0;9;TSF:MSG:READ,25-25-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:BC 0;255;3;0;9;TSF:MSG:FPAR REQ,ID=25 0;255;3;0;9;TSF:CKU:OK,FCTRL 0;255;3;0;9;TSF:MSG:GWL OK 0;255;3;0;9;TSF:MSG:SEND,0-0-25-25,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;TSF:MSG:READ,25-25-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;!TSF:MSG:LEN,0!=7 0;255;3;0;9;TSF:MSG:READ,25-25-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 0;255;3;0;9;!TSF:MSG:SEND,0-0-25-25,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=NACK:0100 0;255;3;0;9;TSF:MSG:READ,25-25-0,s=255,c=3,t=6,pt=1,l=1,sg=0:0 0;255;3;0;9;TSF:MSG:READ,25-25-0,s=255,c=3,t=11,pt=0,l=18,sg=0:Temperature Sensor 0;255;3;0;9;TSF:MSG:READ,25-25-0,s=255,c=3,t=12,pt=0,l=4,sg=0:1.35 0;255;3;0;9;TSF:MSG:READ,25-25-0,s=0,c=0,t=6,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:READ,25-25-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2 0;255;3;0;9;TSF:MSG:SEND,0-0-25-25,s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=OK:1 0;255;3;0;9;TSF:MSG:READ,25-25-0,s=1,c=1,t=38,pt=7,l=5,sg=0:1.47 0;255;3;0;9;TSF:MSG:READ,25-25-0,s=255,c=3,t=0,pt=1,l=1,sg=0:34 0;255;3;0;9;TSF:MSG:READ,25-27-0,s=0,c=1,t=0,pt=7,l=5,sg=0:29.5 0;255;3;0;9;TSF:MSG:READ,26-26-0,s=1,c=5,t=46,pt=7,l=5,sg=0:6.53 0;255;3;0;9;TSF:MSG:READ,26-26-0,s=255,c=3,t=0,pt=1,l=1,sg=0:77 0;255;3;0;9;TSF:MSG:READ,26-26-0,s=0,c=1,t=0,pt=7,l=5,sg=0:28.7 0;255;3;0;9;TSF:MSG:READ,21-21-0,s=0,c=1,t=0,pt=7,l=5,sg=0:24.1 0;255;3;0;9;TSF:MSG:READ,20-20-0,s=0,c=1,t=0,pt=7,l=5,sg=0:22.8 0;255;3;0;9;TSF:MSG:READ,0-0-255,s=255,c=3,t=20,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:BC 0;255;3;0;9;TSF:MSG:READ,25-25-0,s=1,c=1,t=38,pt=7,l=5,sg=0:0.38 0;255;3;0;9;TSF:MSG:READ,25-25-0,s=255,c=3,t=0,pt=3,l=1,sg=0:37899 0;255;3;0;9;!TSF:MSG:LEN,9!=8 0;255;3;0;9;TSF:MSG:READ,26-26-0,s=255,c=3,t=0,pt=1,l=1,sg=0:77 0;255;3;0;9;TSF:MSG:READ,25-25-0,s=0,c=1,t=0,pt=7,l=5,sg=0:29.2```
-
RE: Ethernet Gateway with Nano - Invalid message length, 0 (actual) != 7 (expected)
@Yveaux
yes it looks like power issue, haven't fixed it yet but for future if some one stumbled upon this posts: gateway starts ok, but as soon as some message arrives gateway reset and controller lost connection with gateway (serial output below), i dont have inductor available to test suggested solution.
PS: i have tried supplying power from separate source to W5100, changed cap on nrf from 10uf to 100uf but no luck.0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1 0;255;3;0;9;TSM:INIT 0;255;3;0;9;TSF:WUR:MS=0 0;255;3;0;9;TSM:INIT:TSP OK 0;255;3;0;9;TSM:INIT:GW MODE 0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0 0;255;3;0;9;MCO:REG:NOT NEEDED IP: 192.168.99.7 0;255;3;0;9;MCO:BGN:STP 0;255;3;0;9;MCO:BGN:INIT OK,TSP=1 0;255;3;0;9;TSF:MSG:READ,26-18-0,s=1,c=1,t=38,pt=7,l=5,sg=0:3.36 0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1 0;255;3;0;9;TSM:INIT 0;255;3;0;9;TSF:WUR:MS=0 0;255;3;0;9;TSM:INIT:TSP OK 0;255;3;0;9;TSM:INIT:GW MODE 0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0 0;255;3;0;9;MCO:REG:NOT NEEDED IP: 192.168.99.7 0;255;3;0;9;MCO:BGN:STP 0;255;3;0;9;MCO:BGN:INIT OK,TSP=1 0;255;3;0;9;TSF:MSG:READ,27-27-0,s=1,c=1,t=38,pt=7,l=5,sg=0:1.61 0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1 0;255;3;0;9;TSM:INIT 0;255;3;0;9;TSF:WUR:MS=0 0;255;3;0;9;TSM:INIT:TSP OK 0;255;3;0;9;TSM:INIT:GW MODE 0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0 0;255;3;0;9;MCO:REG:NOT NEEDED IP: 192.168.99.7 0;255;3;0;9;MCO:BGN:STP 0;255;3;0;9;MCO:BGN:INIT OK,TSP=1```
-
Ethernet Gateway with Nano - Invalid message length, 0 (actual) != 7 (expected)
Hi Guys,
back again with another problem; i m trying to build Ethernet gateway, it starts ok, gets ip but then it goes into some loop with this message on serial port:0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0: 0;255;3;0;9;!TSF:MSG:LEN,0!=7
Gateway Startup
⸮⸮⸮⸮=⸮0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1 0;255;3;0;9;TSM:INIT 0;255;3;0;9;TSF:WUR:MS=0 0;255;3;0;9;TSM:INIT:TSP OK 0;255;3;0;9;TSM:INIT:GW MODE 0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0 0;255;3;0;9;MCO:REG:NOT NEEDED 0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0: 0;255;3;0;9;!TSF:MSG:LEN,0!=7 0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0: 0;255;3;0;9;!TSF:MSG:LEN,0!=7 0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0: 0;255;3;0;9;!TSF:MSG:LEN,0!=7 0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0: 0;255;3;0;9;!TSF:MSG:LEN,0!=7 0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0: 0;255;3;0;9;!TSF:MSG:LEN,0!=7 IP: 192.168.99.7 0;255;3;0;9;MCO:BGN:STP 0;255;3;0;9;MCO:BGN:INIT OK,TSP=1 0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0: 0;255;3;0;9;!TSF:MSG:LEN,0!=7``` No Major change in code, ```/** * The MySensors Arduino library handles the wireless radio link and protocol * between your home built sensors/actuators and HA controller of choice. * The sensors forms a self healing radio network with optional repeaters. Each * repeater and gateway builds a routing tables in EEPROM which keeps track of the * network topology allowing messages to be routed to nodes. * * Created by Henrik Ekblad <henrik.ekblad@mysensors.org> * Copyright (C) 2013-2015 Sensnology AB * Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors * * Documentation: http://www.mysensors.org * Support Forum: http://forum.mysensors.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. * ******************************* * * REVISION HISTORY * Version 1.0 - Henrik EKblad * Contribution by a-lurker and Anticimex, * Contribution by Norbert Truchsess <norbert.truchsess@t-online.de> * Contribution by Tomas Hozza <thozza@gmail.com> * * * DESCRIPTION * The EthernetGateway sends data received from sensors to the ethernet link. * The gateway also accepts input on ethernet interface, which is then sent out to the radio network. * * The GW code is designed for Arduino 328p / 16MHz. ATmega168 does not have enough memory to run this program. * * LED purposes: * - To use the feature, uncomment MY_DEFAULT_xxx_LED_PIN in the sketch below * - RX (green) - blink fast on radio message received. In inclusion mode will blink fast only on presentation received * - TX (yellow) - blink fast on radio message transmitted. In inclusion mode will blink slowly * - ERR (red) - fast blink on error during transmission error or receive crc error * * See http://www.mysensors.org/build/ethernet_gateway for wiring instructions. * */ // Enable debug prints to serial monitor #define MY_DEBUG // Enable and select radio type attached #define MY_RADIO_NRF24 //#define MY_RADIO_NRF5_ESB //#define MY_RADIO_RFM69 //#define MY_RADIO_RFM95 #define MY_RF24_PA_LEVEL RF24_PA_MAX //#define MY_DEBUG_VERBOSE_RF24 // RF channel for the sensor net, 0-127 #define RF24_CHANNEL 125 //RF24_250KBPS for 250kbs, RF24_1MBPS for 1Mbps, or RF24_2MBPS for 2Mbps #define RF24_DATARATE RF24_250KBPS // Enable gateway ethernet module type #define MY_GATEWAY_W5100 // W5100 Ethernet module SPI enable (optional if using a shield/module that manages SPI_EN signal) //#define MY_W5100_SPI_EN 4 // Enable Soft SPI for NRF radio (note different radio wiring is required) // The W5100 ethernet module seems to have a hard time co-operate with // radio on the same spi bus. #if !defined(MY_W5100_SPI_EN) && !defined(ARDUINO_ARCH_SAMD) #define MY_SOFTSPI #define MY_SOFT_SPI_SCK_PIN 14 #define MY_SOFT_SPI_MISO_PIN 16 #define MY_SOFT_SPI_MOSI_PIN 15 #endif // When W5100 is connected we have to move CE/CSN pins for NRF radio #ifndef MY_RF24_CE_PIN #define MY_RF24_CE_PIN 5 #endif #ifndef MY_RF24_CS_PIN #define MY_RF24_CS_PIN 6 #endif // Enable UDP communication //#define MY_USE_UDP // If using UDP you need to set MY_CONTROLLER_IP_ADDRESS below // Enable MY_IP_ADDRESS here if you want a static ip address (no DHCP) //#define MY_IP_ADDRESS 192,168,99,166 // If using static ip you can define Gateway and Subnet address as well //#define MY_IP_GATEWAY_ADDRESS 192,168,99,1 //#define MY_IP_SUBNET_ADDRESS 255,255,255,0 // Renewal period if using DHCP //#define MY_IP_RENEWAL_INTERVAL 600 // The port to keep open on node server mode / or port to contact in client mode #define MY_PORT 5003 // Controller ip address. Enables client mode (default is "server" mode). // Also enable this if MY_USE_UDP is used and you want sensor data sent somewhere. //#define MY_CONTROLLER_IP_ADDRESS 192, 168, 178, 254 // The MAC address can be anything you want but should be unique on your network. // Newer boards have a MAC address printed on the underside of the PCB, which you can (optionally) use. // Note that most of the Arduino examples use "DEAD BEEF FEED" for the MAC address. #define MY_MAC_ADDRESS 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED // Enable inclusion mode //#define MY_INCLUSION_MODE_FEATURE // Enable Inclusion mode button on gateway //#define MY_INCLUSION_BUTTON_FEATURE // Set inclusion mode duration (in seconds) //#define MY_INCLUSION_MODE_DURATION 60 // Digital pin used for inclusion mode button //#define MY_INCLUSION_MODE_BUTTON_PIN 3 // Set blinking period #define MY_DEFAULT_LED_BLINK_PERIOD 300 // Flash leds on rx/tx/err // Uncomment to override default HW configurations //#define MY_DEFAULT_ERR_LED_PIN 7 // Error led pin //#define MY_DEFAULT_RX_LED_PIN 8 // Receive led pin //#define MY_DEFAULT_TX_LED_PIN 9 // Transmit led pin #if defined(MY_USE_UDP) #include <EthernetUdp.h> #endif #include <Ethernet.h> #include <MySensors.h> void setup() { // Setup locally attached sensors } void presentation() { // Present locally attached sensors here } void loop() { // Send locally attached sensors data here }```
-
RE: WiFi Gateway (ESP8266) - reconnect to wifi router
@thomasdr thank you for the info, and sorry for late reply, changing wait(500) to delay(500) worked.
-
RE: PiHome - Smart Heating Control Available To download
@alowhum love the safety "is there a gas leak" i m thinking to implement this as well but haven't came to agreement between 220v powered vs battery powered sensors, on same note my home heating is scheduled for ground floor and DHW but i want to have some exhaust fan to run for 10 to 15 minuts to re-fresh air on ground floor again its on my to do list.
i have implemented zone max temperature, boiler max temperature and boiler hysteresis time (time between off and on again) but haven't implemented zone max run time or zone hysteresis time.
some time adding extra feature/options to heating control may not suite everyone and it requires lots and lots of testing and time.
Ps: i think all these commercially available options are way behind on options for domestic heating needs.
-
RE: Power used by the LED on pin 13 with a nRF24L01L01+
@yveaux thank you for reply, i dont have any arduino with led to test this all boards are in use and without led may be i'll order few to test this at some stage.
-
RE: Power used by the LED on pin 13 with a nRF24L01L01+
In my experience that led was always half on don’t ask me why as i m using cheap Chinese clone arduino hence power and pin 13 led removed to save battery
-
RE: PiHome - Smart Heating Control Available To download
Update:
just update on this project, i have added option to manage your heating from any internet connected device, i.e all you have to do is update your pihome version to latest and send me email and i'll send you api key back and you can manage your heating from http://www.pihome.eu/mypihomePs: thanks to mysensors and all its contributors to shearing their work.
-
RE: 50mm x 50mm board with different powering options
@gertsanders you have good PCB design skills, great work but keep safety in mind, those cheap chines plastic box aren't for 220v and definitely not to houses any power supply.
-
RE: 💬 HLK-PM01 breakout board
Thank you for sharing, what Varistor part number you are using?
-
RE: 💬 Raspberry Pi gateway interface
@GertSanders,
sorry may be this is basic question, how this gateway is presented to raspberry pi? as a serial gateway? -
RE: 💬 Dollhouse wireless node
what is the battery life with DS18B20 when reading sent to gateway every one minut.
Thank you -
RE: PiHome - Smart Heating Control Available To download
I Just did quick calculation for total cost for this project
Temperature Sensors Node
NRF24L01+ 2.4GHz Wireless Transceiver 0.66€
Pro Mini 328 Mini 3.3V/8M 1.35€
DS18B20 Thermometer Temperature Sensor 0.53€
Temperature and humidity sensor plastic box 3.48€
18650 Battery 3.7V Li-ion Rechargeable Battery 1.56€MySensors Gateway
Wireless module CH340 NodeMcu V3 Lua 2.39€
NRF24L01 PA LNA 20dBm 2500m Long Distance SPI 2.4GHz 3.87€Multi Zone Controller Relay
4 Channel relay module with optocoupler 1.74€
NRF24L01+ 2.4GHz Wireless Transceiver 0.66€Boiler Controller Relay
2 Channel relay module with optocoupler 0.84€
NRF24L01+ 2.4GHz Wireless Transceiver 0.66€Raspberry Pi for PiHome
Raspberry Pi 3 or 2 or B+ which ever you want to use. 35€
Raspberry pi Casing 1€
Raspberry Power Supply 6€
SD Card for Raspberry Pi 5€General Items used in project
Double Side Copper Prototype PCB Universal Board 6.66€
Metal Film Resistor Kit Pack Mix 4.92€
Single Female Pin Header Case For Arduino 2.20€
0.1 uF 104 50V Mono Monolithic Capacitors 0.78€
4Pin Double Row Straight Pin Female Header 0.87€
values 0.22UF-470UF Aluminum electrolytic capacitor assortment kit 1.35€Total Cost for this project is 80.02€
-
RE: PiHome - Smart Heating Control Available To download
PiHome have that feature as well where you can specify temperature and leave it at that and then it keeps temperature at that level or you can add schedule for any zone.
My Usage graph for last one year. and boiler time it saved me.
My Boiler Usage graph
Schedule List
Past 24 hours temperature graph with boiler status in vertical lines in background.
Night Climate (i should rename it to just climate)
-
RE: PiHome - Smart Heating Control Available To download
If you mean this learns your behaviour how you use heating then no, but if you are looking to control your heating then truck load of features. ie. schedules based on time and desired temperature whichever comes first to turn off boiler, boost based on 30 minuts and maximum temperature on zone which ever comes first to turn off boiler. your boiler usage graph... i m not saying this is perfect but i have this running over two years and my gas bill went down from avg. 150€/month to 70€/month.
-
RE: PiHome - Smart Heating Control Available To download
I should have done a youtube video but i haven't got the skills to do this, but you can check demo at http://www.pihome.eu and you are welcome to put any code contribution
-
PiHome - Smart Heating Control Available To download
Hi Guys,
i thought i better start new thread here instead hijacking someone's, i have uploaded all the code on http://www.pihome.eu i can answer any question you have here. its open source raspberry pi based smart heating control.
Thank you to all MySensorss Community other wise this project wasn't easy to make it wireless.
PiHome -
RE: Resolved - 18650 battery powered temperature sensors
@gohan i m using 1m with 100k but second best combination would be then 620k with 220k ?
-
RE: Resolved - 18650 battery powered temperature sensors
thank you guys for help, really appreciate this. for 18650 battery with 4.2volt in following combination would do the job for you, i m adding here so in future if some one wants reference and save some time on trial and error. @rozpruwacz i m using your idea with 1m and 100k thank you for help.
620k
220k
1.1v out470k
170k
1.116v out1m
355k
1.1v out220k
80k
1.12v out680k
270k
1.194v out390k
150k
1.167v out330k
120k
1.12v out270k
100k
1.135v out -
RE: Resolved - 18650 battery powered temperature sensors
Do you have 1m and 220k in series?
-
RE: Resolved - 18650 battery powered temperature sensors
after changing r2 to 1k ohms and volts per bit to 1.076344086 i m getting first reading is 34.44v and then 2.15, this is even more messed up....
float batteryV = battSensorValue * 1.076344086;
0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1 4 MCO:BGN:BFR 65 TSM:INIT 65 TSF:WUR:MS=0 73 TSM:INIT:TSP OK 75 TSM:INIT:STATID=25 77 TSF:SID:OK,ID=25 79 TSM:FPAR 116 TSF:MSG:SEND,25-25-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 438 TSF:MSG:READ,0-0-25,s=255,c=3,t=8,pt=1,l=1,sg=0:0 444 TSF:MSG:FPAR OK,ID=0,D=1 2125 TSM:FPAR:OK 2125 TSM:ID 2127 TSM:ID:OK 2129 TSM:UPL 2164 TSF:MSG:SEND,25-25-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1 2355 TSF:MSG:READ,0-0-25,s=255,c=3,t=25,pt=1,l=1,sg=0:1 2361 TSF:MSG:PONG RECV,HP=1 2365 TSM:UPL:OK 2365 TSM:READY:ID=25,PAR=0,DIS=1 2371 TSF:MSG:SEND,25-25-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 2506 TSF:MSG:READ,0-0-25,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 2514 TSF:MSG:SEND,25-25-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.1.1 2525 TSF:MSG:SEND,25-25-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0 4534 TSF:MSG:SEND,25-25-0-0,s=255,c=3,t=11,pt=0,l=18,sg=0,ft=0,st=OK:Temperature Sensor 4544 TSF:MSG:SEND,25-25-0-0,s=255,c=3,t=12,pt=0,l=4,sg=0,ft=0,st=OK:1.34 4554 TSF:MSG:SEND,25-25-0-0,s=0,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=OK: 4562 MCO:REG:REQ 4564 TSF:MSG:SEND,25-25-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2 4841 TSF:MSG:READ,0-0-25,s=255,c=3,t=27,pt=1,l=1,sg=0:1 4847 MCO:PIM:NODE REG=1 4849 MCO:BGN:STP 4851 MCO:BGN:INIT OK,TSP=1 Pin Reading: 32 Battery Voltage: 34.44 v Battery percent: 3 % 4859 TSF:MSG:SEND,25-25-0-0,s=1,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:34.44 4870 TSF:MSG:SEND,25-25-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=OK:3 4878 MCO:SLP:MS=750,SMS=0,I1=255,M1=255,I2=255,M2=255 4884 MCO:SLP:TPD 4886 MCO:SLP:WUP=-1 4919 TSF:MSG:SEND,25-25-0-0,s=0,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:19.7 4927 MCO:SLP:MS=56000,SMS=0,I1=255,M1=255,I2=255,M2=255 4933 MCO:SLP:TPD 4935 MCO:SLP:WUP=-1 Pin Reading: 2 Battery Voltage: 2.15 v Battery percent: 0 % 4941 TSF:MSG:SEND,25-25-0-0,s=1,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:2.15 4952 TSF:MSG:SEND,25-25-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=OK:0 4960 MCO:SLP:MS=750,SMS=0,I1=255,M1=255,I2=255,M2=255 4966 MCO:SLP:TPD 4968 MCO:SLP:WUP=-1 5001 TSF:MSG:SEND,25-25-0-0,s=0,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:19.5 5009 MCO:SLP:MS=56000,SMS=0,I1=255,M1=255,I2=255,M2=255 5015 MCO:SLP:TPD
-
Resolved - 18650 battery powered temperature sensors
Hi Guys,
need little bit help to refine my 18650 battery status, see below sketch, i have followed battery Battery Powered Sensors instructions. on hardware side i only removed both leds from arduino mini pro 3.3v and feeding it through raw pin, and have two resisters as per instruction as i m not electronics expert i just did lots of hit and miss but so far voltage on multimeter is 4.01 but arduino is reading it as 3.78. what i m doing wrong here????//PiHome Battery Powered Temperature Sensor // Enable debug prints to serial monitor //#define MY_DEBUG // Enable and select radio type attached #define MY_RADIO_NRF24 //#define MY_RADIO_RFM69 // Set LOW transmit power level as default, if you have an amplified NRF-module and // power your radio separately with a good regulator you can turn up PA level. // #define MY_RF24_PA_LEVEL RF24_PA_LOW #define MY_RF24_PA_LEVEL RF24_PA_MAX //#define MY_DEBUG_VERBOSE_RF24 // RF channel for the sensor net, 0-127 #define RF24_CHANNEL 125 //PiHome Node ID #define MY_NODE_ID 25 //RF24_250KBPS for 250kbs, RF24_1MBPS for 1Mbps, or RF24_2MBPS for 2Mbps #define RF24_DATARATE RF24_250KBPS #include <SPI.h> #include <MySensors.h> #include <DallasTemperature.h> #include <OneWire.h> // Define sensor node childs #define CHILD_ID_BATT 1 #define CHILD_ID_TEMP 0 #define COMPARE_TEMP 1 // Send temperature only if changed? 1 = Yes 0 = No #define COMPARE_BVOLT 0 // Send battery voltage only if changed? 1 = Yes 0 = No #define ONE_WIRE_BUS 3 // Pin where dallase sensor is connected #define MAX_ATTACHED_DS18B20 16 unsigned long SLEEP_TIME = 56000; // Sleep time between reads (in milliseconds) // Battery related init int BATTERY_SENSE_PIN = A0; // select the input pin for the battery sense point float oldBatteryV = 0; MyMessage msgBatt(CHILD_ID_BATT, V_VOLTAGE); // Dallas Temperature related init OneWire oneWire(ONE_WIRE_BUS); // Setup a oneWire instance to communicate with any OneWire devices (not just Maxim/Dallas temperature ICs) DallasTemperature sensors(&oneWire); // Pass the oneWire reference to Dallas Temperature. float lastTemperature[MAX_ATTACHED_DS18B20]; int numSensors=0; bool receivedConfig = false; bool metric = true; MyMessage msgTemp(CHILD_ID_TEMP, V_TEMP); void before() { // Startup up the OneWire library sensors.begin(); } void setup() { // requestTemperatures() will not block current thread sensors.setWaitForConversion(false); // needed for battery soc // use the 1.1 V internal reference #if defined(__AVR_ATmega2560__) analogReference(INTERNAL1V1); #else analogReference(INTERNAL); #endif } void presentation() { // Send the sketch version information to the gateway and Controller sendSketchInfo("Temperature Sensor", "1.33"); // Fetch the number of attached temperature sensors numSensors = sensors.getDeviceCount(); // Present all sensors to controller for (int i=0; i<numSensors && i<MAX_ATTACHED_DS18B20; i++) { present(i, S_TEMP); } } void loop() { // get the battery Voltage int battSensorValue = analogRead(BATTERY_SENSE_PIN); float batteryV = battSensorValue * 0.003695015; // 1M, 470K divider across battery and using internal ADC ref of 1.1V // Sense point is bypassed with 0.1 uF cap to reduce noise at that point // ((1e6+470e3)/470e3)*1.1 = Vmax = 3.44 Volts // 3.44/1023 = Volts per bit = 0.003363075 0.0036950146627566 int batteryPcnt = battSensorValue / 10; #ifdef MY_DEBUG Serial.print("Pin Reading: "); Serial.println(battSensorValue); Serial.print("Battery Voltage: "); Serial.print(batteryV); Serial.println(" v"); //Print Battery Percentage Serial.print("Battery percent: "); Serial.print(batteryPcnt); Serial.println(" %"); #endif #if COMPARE_BVOLT == 1 send(msgBatt.set(batteryV, 2)); sendBatteryLevel(batteryPcnt); #else if (oldBatteryV != batteryV) { send(msgBatt.set(batteryV, 2)); sendBatteryLevel(batteryPcnt); oldBatteryV = batteryV; } #endif // Fetch temperatures from Dallas sensors sensors.requestTemperatures(); // query conversion time and sleep until conversion completed int16_t conversionTime = sensors.millisToWaitForConversion(sensors.getResolution()); // sleep() call can be replaced by wait() call if node need to process incoming messages (or if node is repeater) sleep(conversionTime); // Read temperatures and send them to controller for (int i=0; i<numSensors && i<MAX_ATTACHED_DS18B20; i++) { // Fetch and round temperature to one decimal float temperature = static_cast<float>(static_cast<int>((getControllerConfig().isMetric?sensors.getTempCByIndex(i):sensors.getTempFByIndex(i)) * 10.)) / 10.; // Only send data if temperature has changed and no error #if COMPARE_TEMP == 1 if (lastTemperature[i] != temperature && temperature != -127.00 && temperature != 85.00) { #else if (temperature != -127.00 && temperature != 85.00) { #endif // Send in the new temperature send(msgTemp.setSensor(i).set(temperature,1)); // Save new temperatures for next compare lastTemperature[i]=temperature; } } sleep(SLEEP_TIME); }```
-
RE: Gateway with Nokia 5110 LCD ??
just to give you background of this, i have rpi based heating systems that i built and its working fine 99% but its all wires system temperature sensors are wired, relay for zone wired, relay for boiler wired, now i want to make this all wireless.
to make it wireless i m using mysensors and i have done all ground work done and it all works fine apart from
i. relay nodes are very unpredictable
ii. if i reboot my wifi router my gateway do not try to re-connect i have to press re-set button to get it connected to wifi.hence i thought what if i have small little screen or tft on gateway that can tell me what is going on. i m testing wifi gateway but probably same goes to Ethernet gateway.
Here is my project that i m working on and trying to publish it PiHome
-
RE: Gateway with Nokia 5110 LCD ??
when it comes to basic troubleshooting there is nothing gateway tells me, i.e. controller connected or not, network connected or not etc... and its not very easy to connect gateway to computer to check what is going on.
-
RE: Gateway with Nokia 5110 LCD ??
ok if does not please you then lets get 3.5" TFT screen.....
-
Gateway with Nokia 5110 LCD ??
Hi All,
i been working on moving my wired smart heating to wireless using mysensors, so far so good with few issues to fix but that is work in progress.
reason of my this post to make gateway little bit more then just something blind piece of hardware with no status (apart from rx/tx and error led), how about nokia 5110 lcd? To show some general info i.e. ip address, connected client, in/out messages. Just wondering has any one done this ? -
RE: 💬 Advanced Gateway Options
is there a way to have one led that show if controller is connected to gateway ?
-
RE: WiFi Gateway (ESP8266) - reconnect to wifi router
Arduino 1.8.3 and ESP library is all updated. i m using vodafone router.
-
RE: WiFi Gateway (ESP8266) - reconnect to wifi router
i dont have second esp8266 at this moment, i have order one
here is what i have and i m using it for gateway
https://www.aliexpress.com/item/V3-Wireless-module-NodeMcu-4M-bytes-Lua-WIFI-Internet-of-Things-development-board-based-ESP8266-for/32469441553.html?spm=a2g0s.9042311.0.0.FyzreG@ThomasDr said in WiFi Gateway (ESP8266) - reconnect to wifi router:
ESP8266
-
RE: nrf24 range issues
Just to contribute some experience, i had NRF24L01+PA+LNA on my wifi gateway, all my battery powered sensors (NRF24L01+) were communicating fine but my relay node wasn't communicating at all i tried different arduino (nano, mini) different combination of NRF24L01+ and NRF24L01+PA+LNA but no joy, i just change NRF24L01+PA+LNA radio of my gateway and now my battery powered temperature sensors and relay node can talk to gateway. my conclusion if one node isn't working it may not be that node is faulty. so node and gateway should get checked.
-
RE: nrf24 range issues
i m in same boat, i have order 3 of those as well. until i read your post i was about to give up on using wireless. thanks for reporting back and sharing your experience.
@LeKrist said in nrf24 range issues:
hat even with all of these tricks applied it still would not make it with some modules. Even with modules advertised as "long range". As @Nca78 said it in is very first post, if we know that some modules just work "out of the box" we should stop recommending dodgy ones that
-
RE: WiFi Gateway (ESP8266) - reconnect to wifi router
its basic gateway code nothing else, just copy and paste from mysensors. i added that nrf
/** * The MySensors Arduino library handles the wireless radio link and protocol * between your home built sensors/actuators and HA controller of choice. * The sensors forms a self healing radio network with optional repeaters. Each * repeater and gateway builds a routing tables in EEPROM which keeps track of the * network topology allowing messages to be routed to nodes. * * Created by Henrik Ekblad <henrik.ekblad@mysensors.org> * Copyright (C) 2013-2015 Sensnology AB * Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors * * Documentation: http://www.mysensors.org * Support Forum: http://forum.mysensors.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. * ******************************* * * REVISION HISTORY * Version 1.0 - Henrik EKblad * Contribution by a-lurker and Anticimex, * Contribution by Norbert Truchsess <norbert.truchsess@t-online.de> * Contribution by Ivo Pullens (ESP8266 support) * * DESCRIPTION * The EthernetGateway sends data received from sensors to the WiFi link. * The gateway also accepts input on ethernet interface, which is then sent out to the radio network. * * VERA CONFIGURATION: * Enter "ip-number:port" in the ip-field of the Arduino GW device. This will temporarily override any serial configuration for the Vera plugin. * E.g. If you want to use the defualt values in this sketch enter: 192.168.178.66:5003 * * LED purposes: * - To use the feature, uncomment any of the MY_DEFAULT_xx_LED_PINs in your sketch, only the LEDs that is defined is used. * - RX (green) - blink fast on radio message recieved. In inclusion mode will blink fast only on presentation recieved * - TX (yellow) - blink fast on radio message transmitted. In inclusion mode will blink slowly * - ERR (red) - fast blink on error during transmission error or recieve crc error * * See http://www.mysensors.org/build/esp8266_gateway for wiring instructions. * nRF24L01+ ESP8266 * VCC VCC * CE GPIO4 * CSN/CS GPIO15 * SCK GPIO14 * MISO GPIO12 * MOSI GPIO13 * GND GND * * Not all ESP8266 modules have all pins available on their external interface. * This code has been tested on an ESP-12 module. * The ESP8266 requires a certain pin configuration to download code, and another one to run code: * - Connect REST (reset) via 10K pullup resistor to VCC, and via switch to GND ('reset switch') * - Connect GPIO15 via 10K pulldown resistor to GND * - Connect CH_PD via 10K resistor to VCC * - Connect GPIO2 via 10K resistor to VCC * - Connect GPIO0 via 10K resistor to VCC, and via switch to GND ('bootload switch') * * Inclusion mode button: * - Connect GPIO5 via switch to GND ('inclusion switch') * * Hardware SHA204 signing is currently not supported! * * Make sure to fill in your ssid and WiFi password below for ssid & pass. */ // Enable debug prints to serial monitor #define MY_DEBUG // Use a bit lower baudrate for serial prints on ESP8266 than default in MyConfig.h #define MY_BAUD_RATE 9600 // Enables and select radio type (if attached) #define MY_RADIO_NRF24 //#define MY_RADIO_RFM69 // i added this later to see this may be the cause as i have channel number etc in other sensors. #define MY_RF24_PA_LEVEL RF24_PA_MAX //#define MY_DEBUG_VERBOSE_RF24 // RF channel for the sensor net, 0-127 #define RF24_CHANNEL 125 //RF24_250KBPS for 250kbs, RF24_1MBPS for 1Mbps, or RF24_2MBPS for 2Mbps #define RF24_DATARATE RF24_250KBPS #define MY_GATEWAY_ESP8266 #define MY_ESP8266_SSID "wifi" #define MY_ESP8266_PASSWORD "wifi-pass" // Enable UDP communication //#define MY_USE_UDP // Set the hostname for the WiFi Client. This is the hostname // it will pass to the DHCP server if not static. #define MY_ESP8266_HOSTNAME "PiHome_Gateway" // Enable MY_IP_ADDRESS here if you want a static ip address (no DHCP) //#define MY_IP_ADDRESS 192,168,99,4 // If using static ip you need to define Gateway and Subnet address as well //#define MY_IP_GATEWAY_ADDRESS 192,168,99,1 //#define MY_IP_SUBNET_ADDRESS 255,255,255,0 // The port to keep open on node server mode #define MY_PORT 5003 // How many clients should be able to connect to this gateway (default 1) #define MY_GATEWAY_MAX_CLIENTS 2 // Controller ip address. Enables client mode (default is "server" mode). // Also enable this if MY_USE_UDP is used and you want sensor data sent somewhere. //#define MY_CONTROLLER_IP_ADDRESS 192, 168, 178, 68 // Enable inclusion mode #define MY_INCLUSION_MODE_FEATURE // Enable Inclusion mode button on gateway // #define MY_INCLUSION_BUTTON_FEATURE // Set inclusion mode duration (in seconds) #define MY_INCLUSION_MODE_DURATION 60 // Digital pin used for inclusion mode button #define MY_INCLUSION_MODE_BUTTON_PIN 3 // Set blinking period // #define MY_DEFAULT_LED_BLINK_PERIOD 300 // Flash leds on rx/tx/err // Led pins used if blinking feature is enabled above #define MY_DEFAULT_ERR_LED_PIN 16 // Error led pin #define MY_DEFAULT_RX_LED_PIN 16 // Receive led pin #define MY_DEFAULT_TX_LED_PIN 16 // the PCB, on board LED #if defined(MY_USE_UDP) #include <WiFiUdp.h> #endif #include <ESP8266WiFi.h> #include <MySensors.h> void setup() { } void presentation() { // Present locally attached sensors here } void loop() { // Send locally attached sensors data here }
-
RE: WiFi Gateway (ESP8266) - reconnect to wifi router
it looks from log as it is connected to wifi but i can not even ping mysensors gateway, until i press reset button on esp.
yes you are right gateway receive all message from notes. -
RE: WiFi Gateway (ESP8266) - reconnect to wifi router
here is log when gateway is connected to wifi router, and then i powered off wifi router and then in few seconds powered on again, all other devicess connected to wifi router as expected apart from mysensors esp gateway. no special code in my gateway controller sketch.
pm open,type:2 0 0;255;3;0;9;TSF:MSG:READ,30-30-0,s=0,c=1,t=0,pt=7,l=5,sg=0:35.0 0;255;3;0;9;Client 0 connected 0;255;3;0;9;TSF:MSG:READ,30-30-0,s=0,c=1,t=0,pt=7,l=5,sg=0:35.8 0;255;3;0;9;TSF:MSG:READ,21-21-0,s=0,c=1,t=0,pt=7,l=5,sg=0:21.6 bcn_timout,ap_probe_send_start ap_probe_send over, rest wifi status to disassoc state: 5 -> 0 (1) rm 0 pm close 7 f r0, 0;255;3;0;9;Client 0 disconnected scandone no mynet-915C found, reconnect after 1s reconnect f 0, scandone no mynet-915C found, reconnect after 1s reconnect f -180, scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 1 cnt chg_B1:-140 connected with mynet-915C, channel 7 dhcp client start... chg_B1:-100 ip:192.168.99.3,mask:255.255.255.0,gw:192.168.99.1 chg_B1:-60 chg_B1:-20 0;255;3;0;9;TSF:MSG:READ,21-21-0,s=0,c=1,t=0,pt=7,l=5,sg=0:21.9 pm open,type:2 0 0;255;3;0;9;TSF:MSG:READ,30-30-0,s=0,c=1,t=0,pt=7,l=5,sg=0:35.8 0;255;3;0;9;TSF:MSG:READ,25-25-0,s=0,c=1,t=0,pt=7,l=5,sg=0:20.8```
-
RE: Gas Meter Reading Using a Magnetometer
I was thinking to have it powered with battery and solar charger but lot can go wrong with this setup, may be best to have it powered via proper power supply, i have ordered sensor and i will build this once i get that delivered and report back, i was thinking to calculate co2 footprint as well for gas usage.
@dpcr said in Gas Meter Reading Using a Magnetometer:
@pihome I power mine with an adapter as well. This node sends too much information to be battery powered. I was researching solar because the sensor sits outside on the south side of our home but never followed up on it. Maybe for another day.
-
RE: WiFi Gateway (ESP8266) - reconnect to wifi router
This is getting very odd, now if I connect my gateway to computer I don’t see anything on serial port, but i can talk to controler and get all nodes data which confirm it’s working.
-
RE: WiFi Gateway (ESP8266) - reconnect to wifi router
@manutremo thank you reply. Yes i was referring to wifi gateway connection to wifi router.
I.e if I rebooted my wifi router my wifi gateway do not re-establish connection to wifi router until unless i reset wifi gateway -
RE: Gas Meter Reading Using a Magnetometer
@dpcr, @dynamite how you powering your node? Do you supply constant power from some
Power supply (mobile charger) or running on batteries? -
WiFi Gateway (ESP8266) - reconnect to wifi router
i have this problem: if i reboot my wifi router mysensors wifi gateway wouldn't try to connect again, is this only with me or its common issue with wifi gateway?
-
RE: Serial GW on RaspberryPI 3 doesn't start
those chines radio are always problematic...
-
RE: 💬 Building a WiFi Gateway using ESP8266
if i reboot my wifi router mysensors wifi gateway wouldn't try to connect again, is this only with me or its common issue with wifi gateway?