Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
T

terxw

@terxw
About
Posts
11
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • 💬 The Logger Machine - Short and long term serial logging
    T terxw

    All new nodes have set BR 11520 and the logger is working nicely, I finaly have a way to debug basic problems!

    OpenHardware.io arduino ttl logging serial uart bluetooth help log

  • 💬 The Logger Machine - Short and long term serial logging
    T terxw

    @sundberg84
    So I tried all rx/tx combinations, no response to AT commands, I will try with different software and/or computer.

    OpenHardware.io arduino ttl logging serial uart bluetooth help log

  • 💬 The Logger Machine - Short and long term serial logging
    T terxw

    @sundberg84

    Here are pictures:

    https://imgur.com/a/L4E2eoJ

    OpenHardware.io arduino ttl logging serial uart bluetooth help log

  • 💬 The Logger Machine - Short and long term serial logging
    T terxw

    OK, couple of good pointers!

    I found the atmega RX a TX pins, but cannot get any response in the serial console.

    Connectiona are: USB -> USB Serial Converter -> GND, power -> logger & RT/TX -> Tx/RX on atmega on logger.

    If I set BR to 11520, I can see on my BT connected phone what I typed in the arduino serial monitor, e.g. if I type "AT" in Arduino serial console with BR 115200 , I can see clear ascii text "AT" on my phone.

    If i set BR to 9600 or 38400, I see just scrambled characters or nothing at all.

    I tried to put some test serial.println with BR 11520 on new pro mini (3.3V, 8Mhz), when I discovered some interesting problems....
    None of my serial/USB converters worked, I tried to guess BR etc. to no avail.
    I tried to reupload bootloader with usbasp, with set BR, but could not get clear text serial output form my nodes.... After 5 diferent USB to serial adapters i tried to compile code with arduino IDE instead of platformio, voala, now I could send text from promini with BR 115200 through logger to my phone.

    So there are couple problems, probably with my toolchain (platformio) - I remembered that I had problems with some new custom boards (NRF24Duino) and serial output which was garbled...

    But nevertheless, I cannot change BR of logger, because I am using custom bootloaders with 1 MHz internal oscilator and 4800 BR, I need to set it lower.

    What else could I try?

    OpenHardware.io arduino ttl logging serial uart bluetooth help log

  • 💬 The Logger Machine - Short and long term serial logging
    T terxw

    Hello Sandberg84, I recently bought the logger and have problem setting up baud rate.
    I can connect to BT with my phone just fine, I can get serial output from sensor at specified intervals, but it is all nonprintable characters, alas bad baud rate.
    When I connect logger to pc via serial adapter I get no response to AT commands.
    Can you show me way to try something?

    Thanx

    OpenHardware.io arduino ttl logging serial uart bluetooth help log

  • 💬 EFEKTA Temperature & Humidity mini sensor
    T terxw

    What is the serial upload speed?

    OpenHardware.io temperature atmega328 battery humidity atmega 328p-mu

  • Invalid Message, Sensor not being added
    T terxw

    Ok so after further reading I found info on the issue, it seems that these are debug messages, we can safaly ignore them.

    homeassistant forum

    Home Assistant

  • Invalid Message, Sensor not being added
    T terxw

    I have same problem, on both my GWs using MQTT (ESP2866 nodes ) in homeassistant i get lots of these errors

    At my parents:

    2018-11-24 15:23:51 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {38: '0.4'}: sensor platform: node 18 child 7: S_MULTIMETER requires value_type V_IMPEDANCE @ data[14]
    2018-11-24 15:23:51 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: Lifepo solar node G 18 7: value_type 38, value = 0.4
    2018-11-24 15:24:00 DEBUG (SyncWorker_18) [mysensors.persistence] Saving sensors to persistence file /config/mysensors.json
    2018-11-24 15:24:17 INFO (MainThread) [homeassistant.components.http.view] Serving / to 127.0.0.1 (auth: False)
    2018-11-24 15:24:21 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/28/255/3/0/0: b'50'
    2018-11-24 15:24:21 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 28;255;3;0;0;50
    2018-11-24 15:24:21 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 28 child 255
    2018-11-24 15:24:21 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Not a child update for node 28
    2018-11-24 15:24:21 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/28/1/1/0/38: b'2604.0'
    2018-11-24 15:24:21 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 28;1;1;0;38;2604.0
    2018-11-24 15:24:21 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 28 child 1
    2018-11-24 15:24:21 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {38: '2604.0'}: sensor platform: node 28 child 1: S_MULTIMETER requires value_type V_CURRENT @ data[39]
    2018-11-24 15:24:21 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {38: '2604.0'}: sensor platform: node 28 child 1: S_MULTIMETER requires value_type V_IMPEDANCE @ data[14]
    2018-11-24 15:24:21 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: detska_dole 28 1: value_type 38, value = 2604.0
    2018-11-24 15:24:22 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/28/0/1/0/0: b'20.3'
    2018-11-24 15:24:22 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 28;0;1;0;0;20.3
    2018-11-24 15:24:22 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 28 child 0
    2018-11-24 15:24:22 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: detska_dole 28 0: value_type 0, value = 20.3
    2018-11-24 15:24:30 DEBUG (SyncWorker_0) [mysensors.persistence] Saving sensors to persistence file /config/mysensors.json
    2018-11-24 15:24:47 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/21/255/3/0/0: b'80'
    2018-11-24 15:24:47 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 21;255;3;0;0;80
    2018-11-24 15:24:47 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 21 child 255
    2018-11-24 15:24:47 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Not a child update for node 21
    2018-11-24 15:24:47 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/21/1/1/0/38: b'3033.0'
    2018-11-24 15:24:47 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 21;1;1;0;38;3033.0
    2018-11-24 15:24:47 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 21 child 1
    2018-11-24 15:24:47 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node 21 is missing sketch name
    2018-11-24 15:24:47 INFO (MainThread) [homeassistant.components.http.view] Serving / to 127.0.0.1 (auth: False)
    2018-11-24 15:24:47 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/21/0/1/0/0: b'22.5'
    2018-11-24 15:24:47 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 21;0;1;0;0;22.5
    2018-11-24 15:24:47 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 21 child 0
    2018-11-24 15:24:47 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node 21 is missing sketch name
    2018-11-24 15:24:50 DEBUG (SyncWorker_16) [mysensors.persistence] Saving sensors to persistence file /config/mysensors.json
    2018-11-24 15:24:55 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/18/255/3/0/0: b'255'
    2018-11-24 15:24:55 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 18;255;3;0;0;255
    2018-11-24 15:24:55 WARNING (MainThread) [mysensors] Not a valid message: value must be integer between 0 and 100 for dictionary value @ data['payload']
    2018-11-24 15:24:55 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/18/7/1/0/38: b'0.3'
    2018-11-24 15:24:55 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 18;7;1;0;38;0.3
    2018-11-24 15:24:55 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 18 child 7
    2018-11-24 15:24:55 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {38: '0.3'}: sensor platform: node 18 child 7: S_MULTIMETER requires value_type V_CURRENT @ data[39]
    2018-11-24 15:24:55 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {38: '0.3'}: sensor platform: node 18 child 7: S_MULTIMETER requires value_type V_IMPEDANCE @ data[14]
    2018-11-24 15:24:55 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: Lifepo solar node G 18 7: value_type 38, value = 0.3
    2018-11-24 15:25:00 DEBUG (SyncWorker_12) [mysensors.persistence] Saving sensors to persistence file /config/mysensors.json
    2018-11-24 15:25:17 INFO (MainThread) [homeassistant.components.http.view] Serving / to 127.0.0.1 (auth: False)
    2018-11-24 15:25:25 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/28/255/3/0/0: b'50'
    2018-11-24 15:25:25 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 28;255;3;0;0;50
    2018-11-24 15:25:25 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 28 child 255
    2018-11-24 15:25:25 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Not a child update for node 28
    2018-11-24 15:25:25 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/28/1/1/0/38: b'2604.0'
    2018-11-24 15:25:25 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 28;1;1;0;38;2604.0
    2018-11-24 15:25:25 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 28 child 1
    2018-11-24 15:25:25 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {38: '2604.0'}: sensor platform: node 28 child 1: S_MULTIMETER requires value_type V_CURRENT @ data[39]
    2018-11-24 15:25:25 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {38: '2604.0'}: sensor platform: node 28 child 1: S_MULTIMETER requires value_type V_IMPEDANCE @ data[14]
    2018-11-24 15:25:25 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: detska_dole 28 1: value_type 38, value = 2604.0
    2018-11-24 15:25:25 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/28/0/1/0/0: b'20.3'
    2018-11-24 15:25:25 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 28;0;1;0;0;20.3
    2018-11-24 15:25:25 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 28 child 0
    

    And at home:

    2018-11-24 15:26:07 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 14;255;3;0;0;13
    2018-11-24 15:26:07 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 14 child 255
    2018-11-24 15:26:07 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Not a child update for node 14
    2018-11-24 15:26:08 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/14/4/1/0/0: b'0.0'
    2018-11-24 15:26:08 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 14;4;1;0;0;0.0
    2018-11-24 15:26:08 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 14 child 4
    2018-11-24 15:26:08 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: balkon_polievanie 14 4: value_type 0, value = 0.0
    2018-11-24 15:26:08 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/14/5/1/0/16: b'0.0'
    2018-11-24 15:26:08 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 14;5;1;0;16;0.0
    2018-11-24 15:26:08 WARNING (MainThread) [mysensors] Not a valid message: value must be either 0 or 1 for dictionary value @ data['payload']
    2018-11-24 15:26:09 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/14/2/1/0/37: b'0.0'
    2018-11-24 15:26:09 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 14;2;1;0;37;0.0
    2018-11-24 15:26:09 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 14 child 2
    2018-11-24 15:26:09 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {37: '0.0'}: binary_sensor platform: node 14 child 2: S_MOISTURE requires value_type V_TRIPPED @ data[16]
    2018-11-24 15:26:09 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {37: '0.0'}: switch platform: node 14 child 2: S_MOISTURE requires value_type V_ARMED @ data[15]
    2018-11-24 15:26:09 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: balkon_polievanie 14 2: value_type 37, value = 0.0
    2018-11-24 15:26:09 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/14/255/3/0/22: b'17283381'
    2018-11-24 15:26:09 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 14;255;3;0;22;17283381
    2018-11-24 15:26:09 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 14 child 255
    2018-11-24 15:26:09 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Not a child update for node 14
    2018-11-24 15:26:09 DEBUG (SyncWorker_12) [mysensors.persistence] Saving sensors to persistence file /config/mysensors.json
    2018-11-24 15:26:15 INFO (MainThread) [homeassistant.components.http.view] Serving / to 127.0.0.1 (auth: False)
    2018-11-24 15:26:25 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/16/255/3/0/0: b'53'
    2018-11-24 15:26:25 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 16;255;3;0;0;53
    2018-11-24 15:26:25 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 16 child 255
    2018-11-24 15:26:25 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Not a child update for node 16
    2018-11-24 15:26:26 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/16/1/1/0/38: b'2654.0'
    2018-11-24 15:26:26 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 16;1;1;0;38;2654.0
    2018-11-24 15:26:26 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 16 child 1
    2018-11-24 15:26:26 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {38: '2654.0'}: sensor platform: node 16 child 1: S_MULTIMETER requires value_type V_CURRENT @ data[39]
    2018-11-24 15:26:26 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {38: '2654.0'}: sensor platform: node 16 child 1: S_MULTIMETER requires value_type V_IMPEDANCE @ data[14]
    2018-11-24 15:26:26 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: cerman_kuchyna 16 1: value_type 38, value = 2654.0
    2018-11-24 15:26:26 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/16/0/1/0/0: b'25.0'
    2018-11-24 15:26:26 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 16;0;1;0;0;25.0
    2018-11-24 15:26:26 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 16 child 0
    2018-11-24 15:26:26 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: cerman_kuchyna 16 0: value_type 0, value = 25.0
    2018-11-24 15:26:29 DEBUG (SyncWorker_10) [mysensors.persistence] Saving sensors to persistence file /config/mysensors.json
    2018-11-24 15:26:44 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/14/255/3/0/0: b'13'
    2018-11-24 15:26:44 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 14;255;3;0;0;13
    2018-11-24 15:26:44 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 14 child 255
    2018-11-24 15:26:44 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Not a child update for node 14
    2018-11-24 15:26:44 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/14/4/1/0/0: b'0.0'
    2018-11-24 15:26:44 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 14;4;1;0;0;0.0
    2018-11-24 15:26:44 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 14 child 4
    2018-11-24 15:26:44 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: balkon_polievanie 14 4: value_type 0, value = 0.0
    2018-11-24 15:26:44 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/14/5/1/0/16: b'0.0'
    2018-11-24 15:26:44 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 14;5;1;0;16;0.0
    2018-11-24 15:26:44 WARNING (MainThread) [mysensors] Not a valid message: value must be either 0 or 1 for dictionary value @ data['payload']
    2018-11-24 15:26:45 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/14/2/1/0/37: b'0.0'
    2018-11-24 15:26:45 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 14;2;1;0;37;0.0
    2018-11-24 15:26:45 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 14 child 2
    2018-11-24 15:26:45 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {37: '0.0'}: binary_sensor platform: node 14 child 2: S_MOISTURE requires value_type V_TRIPPED @ data[16]
    2018-11-24 15:26:45 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {37: '0.0'}: switch platform: node 14 child 2: S_MOISTURE requires value_type V_ARMED @ data[15]
    2018-11-24 15:26:45 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: balkon_polievanie 14 2: value_type 37, value = 0.0
    2018-11-24 15:26:45 INFO (MainThread) [homeassistant.components.http.view] Serving / to 127.0.0.1 (auth: False)
    2018-11-24 15:26:45 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/14/255/3/0/22: b'17287055'
    2018-11-24 15:26:45 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 14;255;3;0;22;17287055
    2018-11-24 15:26:45 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 14 child 255
    2018-11-24 15:26:45 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Not a child update for node 14
    

    My config (same on both hass dockers only prefixes are different):

    mysensors:
      gateways:
        - device: mqtt
          topic_in_prefix: 'cerman/mygateway1-out'
          topic_out_prefix: 'cerman/mygateway1-in'
          persistence_file: '/config/mysensors.json'
          nodes:
            1:
              name: 'obyvacka'
    #        3:
    #          name: 'living_room'
      optimistic: false
      persistence: true
      retain: true
      version: '2.0'
    
    Home Assistant

  • 💬 MySensors Easy Pro Mini
    T terxw

    Hello, can you post BOM please,
    according to schematics tantalum schould be 100uF bat tantalum cap in picture is 4.7uF

    OpenHardware.io contest2017 ota mysensors atsha204a

  • 💬 simple MySensors MultiSensor Board
    T terxw

    Hi, I placed an order with allpcb, but during review there was error no noc drill file, can samobody help me to generate them from brd file or is the file missing? Thanx for good board!

    OpenHardware.io mysensors htu21d ldr sensor

  • Mys Interposer NRF/Arduino Pro Mini
    T terxw

    I would like to see panelized version for dirtypcb, someone?

    OpenHardware.io binary switches temperature ds18b20 contest2016 mysensors
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular