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
dakkyD

dakky

@dakky
About
Posts
118
Topics
22
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Problems with develop branch
    dakkyD dakky

    @tekka

    Distance 10cm ;)

    BUt the second hint was useful. There seemed to be something "broken"/agile/in development yesterday which was fixed today. As far as I remember this was a fresh merge from development but nevertheless: now it is working again ;) thanks 4 the hint.

    Greetings
    Dakky

    Troubleshooting

  • Problems with develop branch
    dakkyD dakky

    Hello ;)

    I used the develop branch quite a while and everthing was fine.
    But now i can't get the communication up between controller and node. I didn't change something on the hardware side, so I think there is an error on the software part.

    This is what I can see on the node:

    Starting sensor (RNNNA-, 2.0.0-beta)
    TSM:INIT
    RADIO:OK
    assign node ID=1
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    read: 0-0-1 s=255,c=3,t=8,pt=1,l=1,sg=0:0
    node 0 replied, d=0, _nc.distance=255
    parent=0, d=1
    TSM:ID
    node ID=1
    pinging node 0
    send: 1-1-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,st=ok:1
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    !TSM:FAILURE
    TSM:PDT
    TSM:INIT
    RADIO:OK
    assign node ID=1
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    read: 0-0-1 s=255,c=3,t=8,pt=1,l=1,sg=0:0
    node 0 replied, d=0, _nc.distance=255
    parent=0, d=1
    TSM:ID
    node ID=1
    pinging node 0
    send: 1-1-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,st=ok:1
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    read: 0-0-1 s=255,c=3,t=8,pt=1,l=1,sg=0:0
    node 0 replied, d=0, _nc.distance=255
    parent=0, d=1
    TSM:ID
    node ID=1
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    !TSM:FAILURE
    TSM:PDT
    

    On the gateway side i can see:

    0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0-beta)
    IP: 192.168.100.10
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;RADIO:OK
    0;255;3;0;9;TSM:GW MODE
    0;255;3;0;9;TSM:OK
    0;255;3;0;9;No registration required
    0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1
    0;255;3;0;9;read: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;MSG:BC
    0;255;3;0;9;FPREQ from 1
    0;255;3;0;9;GWL ok, FPRES to 1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=ok:0
    0;255;3;0;9;read: 1-1-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1
    0;255;3;0;9;node pinged by 1, hops=1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=25,pt=1,l=1,sg=0,st=fail:1
    0;255;3;0;9;read: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;MSG:BC
    0;255;3;0;9;FPREQ from 1
    0;255;3;0;9;GWL ok, FPRES to 1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=ok:0
    0;255;3;0;9;read: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;MSG:BC
    0;255;3;0;9;FPREQ from 1
    0;255;3;0;9;GWL ok, FPRES to 1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=ok:0
    0;255;3;0;9;read: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;MSG:BC
    0;255;3;0;9;FPREQ from 1
    0;255;3;0;9;GWL ok, FPRES to 1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=ok:0
    0;255;3;0;9;read: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;MSG:BC
    0;255;3;0;9;FPREQ from 1
    0;255;3;0;9;GWL ok, FPRES to 1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=ok:0
    0;255;3;0;9;read: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;MSG:BC
    0;255;3;0;9;FPREQ from 1
    0;255;3;0;9;GWL ok, FPRES to 1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;MSG:BC
    0;255;3;0;9;FPREQ from 1
    0;255;3;0;9;GWL ok, FPRES to 1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=ok:0
    0;255;3;0;9;read: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;MSG:BC
    0;255;3;0;9;FPREQ from 1
    0;255;3;0;9;GWL ok, FPRES to 1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=ok:0
    0;255;3;0;9;read: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;MSG:BC
    0;255;3;0;9;FPREQ from 1
    0;255;3;0;9;GWL ok, FPRES to 1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=ok:0
    0;255;3;0;9;read: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;MSG:BC
    0;255;3;0;9;FPREQ from 1
    0;255;3;0;9;GWL ok, FPRES to 1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    

    Any idea whats wrong here? is there a place, where I can read about the "new" output format/messages?

    EDIT: I don't even come the the setup() part of my sketch. the node is looping around with the log messages above.

    Troubleshooting

  • Simple irrigation setup based on pro mini
    dakkyD dakky

    @mfalkvidd said:

    1. Yes you can use analog input as digital input if you like (but not as output). A5, A6 and A7 don't have internal pullups though so you might need to solder external pullups. EDIT: The distance sensor doesn't need pullups so you don't need to add any in this case. However, the TRIG signal to the HC-SR04 needs to be an output pin so you can't move that. You can move the moisture sensors, if you add external pullups (or buy sensors with built-in pullups).

    Ok sounds reasonable. Have to read more about that pullup/pulldown thing ;)

    1. There is no way you can power everything through the voltage regulator on the Pro Mini. The absolute maximum total power rating for the Pro Mini is 150mA when powering through raw. Also note that most Arduino clones do not survive 12V raw input, and that the nrf radio needs approximately 3.3V.

    Ok I'll use one LM2596 in order to power all components directly + another 5V=>3V voltage regulator for the radio. This should work :D

    1. The relays are controlled by the output pins on the Arduino. The relays control power (12V in your case) that is coming from elsewhere. Relays often consume quite a lot of power (from the Arduino) when switching so make sure you add capacitors. You could also consider using FETs instead of relays. We've seen many threads on relay problems that were caused by power issues.

    Is that a problem too, when powering the relay directly from the LM2596? Otherwise i have to learn something about FETs :)

    1. Probably :) But the best way to learn is to try :)

    So true :D the problem is the "lost" time when waiting for another china package :package:

    An alternative to getting 8 pumps is to get 1 pump and 8 valves. That will probably be cheaper.

    Hmm I did not find any cheap valves. One of the pumps is about $6. And valves cause one problem imho: they need pressure in order to work and this requires to activate the pump some seconds bevor triggering the valve => increased complexity

    @dbemowsk said:

    Are you aware of this project that is in the build section of the site?
    https://www.mysensors.org/build/irrigation

    I saw this one, but it's more a "standalone" solution imho. quite complex. I wanted just a stupid "tell me the moisture values and switch a relay"-solution ;)

    @rest:
    hmm interesting. I will read something about these components, although I'm a little bit afraid of the required code changes :P

    Hardware

  • Simple irrigation setup based on pro mini
    dakkyD dakky

    Hello again ;)

    I'm planning to water some of my plants with a quite simple setup.
    Basically I want to use a pro mini with a nrf module and a moisture sensor and pump per plant.

    This leads me to the following "wiring" (sry for the humble presentation ;) )

    0_1466537035240_upload-fd4f91d3-ccd3-4806-b4bc-374373449ace

    The arduino clone has a strange pin layout, but thats not the problem at the moment.
    Basically a want to know: will this hardware setup work?

    Some hard facts:

    • 12v input because of the pumps are 12V powered
    • arduino pro mini 5v
    • 8x relay 5v
    • HC-SR04 distance sensor for measuring water supply
    • Soil Moisture Sensors
    • 12V peristaltic pumps with max 0.8A

    There are some "problems" IMHO:

    1. too few digitial pins ;) even when i use D2 as output/relay and not as IRQ for the radio i only have 5 pins for switching the pumps/relays. On the opposite side I can have 8 moisture sensors :( Or can i use analog pins as digital INPUT? Then i'd move the distance sensor to A5/A6 which results in 7 relay control pins and 6 moisture sensors => 6 plants instead of 5.
    2. too much current on vcc/GND? not sure if its a good idea to power the 8x relay, the radio, up to 8 moisture sensors and the distance sensor from the tiny pro mini. maybe i should use an external 12V to 5V voltage regulator in order to power all 5V tolerant devices (sensors and relay)
    3. can i connect the pumps directly to the relay? It should protect the arduino from power peaks when switching the pumps? I read something about "neverever power engines directly from the arduino"
    4. Anything i forgot? ;)

    I know there are some "ready2use" irrigation setups, but i want to keep it as simple as possible and want all the logic on the controller side (except some "emergency stop mechanisms ;) )

    Hardware

  • openHAB 2.0 binding
    dakkyD dakky

    @TimO

    I'm using a ethernet gateway.
    the problem is: if the sensors gateway gets restarted/disconnected/updated/whatever the binding does not reconnect. The only way to fix that, is to restart openhab in order to force the binding to connect again.
    Detecting an disconnect is really that hard? in the worst case, what about simply reconnecting timebased? not as cute as only reconnect when nessecary but a dirty quickfix.

    OpenHAB

  • openHAB 2.0 binding
    dakkyD dakky

    @TimO do you plan to implement the reconnect thing? I often have to struggle with that and the only solution is the restart the openhab service :S Is there a problem with the reconnect or is it just "another task on the todo list"?

    Greetings
    Dakky

    OpenHAB

  • Relay turns on when input is LOW?!
    dakkyD dakky

    Ah that explains it for me. Thanks for the dettailed answer. I will @mfalkvidd's and switch the defines. thank you all ;)

    Greetings

    Hardware

  • Relay turns on when input is LOW?!
    dakkyD dakky

    The title says it all: I have connected a relay to my network and it switches power on (led on the relay lights up), when the input pin goes low and vice versa.

    Thats a little bit confusing, when switching off something in the controller UI and the device is switching on ;) and i don't think, that zwitching the state in the arduino code is the way to go :D

    any idea whats wrong here? Wiring is straight forward (vcc & gnd with corresponding pins on relay + D2 to I1 on the relay).

    The code is the the one from the examples (as far as I remember :D ).

    I inserted some debug statements to prevent stupid errors on my side ;)

        Serial.print("arduino pin: ");
        Serial.println(message.sensor + FIRST_DIGITAL_RELAY_OUTPUT);
        Serial.print("message.bool: ");
        Serial.println(message.getBool());
        digitalWrite(message.sensor + FIRST_DIGITAL_RELAY_OUTPUT, message.getBool() ? RELAY_ON : RELAY_OFF);
    

    =>

    arduino pin: 2
    message.bool: 1
    

    results in switched off relay.

    Thanks for helping

    EDIT: maybe "hardware" is the wrong section and "Troubleshooting" a better location ;) If thats the case: please move the thread if possible

    Hardware

  • openHAB 2.0 binding
    dakkyD dakky

    Dammit ... found the error ;)

    created a pull request: https://github.com/tobof/openhab2-addons/pull/18

    Greetings
    Dakky

    OpenHAB

  • openHAB 2.0 binding
    dakkyD dakky

    @dakky said:

    I think i need some help. I am not shure, if my problem lies on the openHab2 side or if there is a problem with the mysensors addon.

    No idea anyone? i'm stucked here and I'd really like to continue :(

    EDIT: MAybe this helps debugging: it seem there is no "link" between things and items. The rest endpoints reveals, that the thing has no item:

    [
      {
        "statusInfo": {
          "status": "ONLINE",
          "statusDetail": "NONE"
        },
        "link": "http://autohome:8080/rest/things/mysensors:bridge-eth:gateway",
        "configuration": {
          "tcpPort": 5003,
          "ipAddress": "192.168.100.10",
          "skipStartupCheck": false,
          "imperial": false,
          "sendDelay": 200
        },
        "properties": {},
        "UID": "mysensors:bridge-eth:gateway",
        "channels": [
          {
            "linkedItems": [],
            "id": "n1c0",
            "itemType": "light",
            "properties": {}
          },
          {
            "linkedItems": [],
            "id": "n1c1",
            "itemType": "light",
            "properties": {}
          },
          {
            "linkedItems": [],
            "id": "n1c2",
            "itemType": "humidity",
            "properties": {}
          },
          {
            "linkedItems": [],
            "id": "n1c3",
            "itemType": "humidity",
            "properties": {}
          },
          {
            "linkedItems": [],
            "id": "n1c4",
            "itemType": "humidity",
            "properties": {}
          }
        ]
      }
    ]
    

    Greetings

    OpenHAB

  • openHAB 2.0 binding
    dakkyD dakky

    I think i need some help. I am not shure, if my problem lies on the openHab2 side or if there is a problem with the mysensors addon.

    This is what i I have:
    A working mysensors addon. I receive updates in OpenHab:

    2016-06-06 07:12:08.483 [DEBUG] [org.openhab.binding.mysensors       ] - BundleEvent STARTING - org.openhab.binding.mysensors
    2016-06-06 07:12:08.550 [DEBUG] [org.openhab.binding.mysensors       ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory}={component.name=org.openhab.binding.mysensors.internal.MySensorsHandlerFactory, component.id=7, service.id=102, service.bundleid=11, service.scope=bundle} - org.openhab.binding.mysensors
    2016-06-06 07:12:09.070 [DEBUG] [org.openhab.binding.mysensors       ] - BundleEvent STARTED - org.openhab.binding.mysensors
    2016-06-06 07:12:12.062 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
    2016-06-06 07:12:18.694 [ERROR] [org.openhab.ui.habmin               ] - [org.openhab.ui.habmin.designer(3)] bind method [setItemRegistry] not found; Component will fail
    2016-06-06 07:12:18.702 [ERROR] [org.openhab.ui.habmin               ] - [org.openhab.ui.habmin.designer(3)] bind method [setItemRegistry] not found
    2016-06-06 07:12:25.252 [ERROR] [org.eclipse.smarthome.core.transform] - [org.eclipse.smarthome.action.transformation.action(51)] Circular reference detected, getService returning null
    2016-06-06 07:12:39.288 [INFO ] [rthome.event.ItemThingLinkAddedEvent] - Link 'mysensors_light_gateway_Light_1_0-mysensors:light:gateway:Light_1_0' has been added.
    2016-06-06 07:12:39.315 [INFO ] [smarthome.event.ItemAddedEvent      ] - Item 'home_group_88a3d2a1' has been added.
    2016-06-06 07:12:42.030 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /ui
    2016-06-06 07:12:42.261 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start
    2016-06-06 07:12:42.825 [WARN ] [sql.internal.MysqlPersistenceService] - The SQL user is missing - please configure the sql:user parameter in openhab.cfg
    2016-06-06 07:12:43.071 [INFO ] [assic.internal.servlet.WebAppServlet] - Started Classic UI at /classicui/app
    2016-06-06 07:12:43.114 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
    2016-06-06 07:12:43.470 [INFO ] [.openhab.core.internal.CoreActivator] - openHAB runtime has been started (v2.0.0, build b2).
    2016-06-06 07:12:43.479 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'home.sitemap'
    2016-06-06 07:12:44.159 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'home.things'
    2016-06-06 07:12:44.397 [INFO ] [smarthome.event.ThingAddedEvent     ] - Thing 'mysensors:bridge-eth:gateway' has been added.
    2016-06-06 07:12:44.468 [INFO ] [nsors.handler.MySensorsBridgeHandler] - Using Metric measure unit
    2016-06-06 07:12:44.470 [DEBUG] [nsors.handler.MySensorsBridgeHandler] - Set skip check on startup to: false
    2016-06-06 07:12:44.489 [DEBUG] [org.openhab.binding.mysensors       ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.config.discovery.DiscoveryService}={service.id=278, service.bundleid=11, service.scope=singleton} - org.openhab.binding.mysensors
    2016-06-06 07:12:44.527 [DEBUG] [nsors.handler.MySensorsBridgeHandler] - Initialization of the MySensors Bridge
    2016-06-06 07:12:44.531 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:bridge-eth:gateway' changed from UNINITIALIZED to INITIALIZING
    2016-06-06 07:12:44.540 [DEBUG] [rs.protocol.ip.MySensorsIpConnection] - Connecting to bridge ...
    2016-06-06 07:12:44.762 [DEBUG] [g.mysensors.protocol.MySensorsWriter] - Sending to MySensors: 0;0;3;0;2;
    2016-06-06 07:12:44.770 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;255;3;0;14;Gateway startup complete.
    2016-06-06 07:12:44.776 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;255;3;0;11;EthernetGateway
    2016-06-06 07:12:44.778 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;255;3;0;12;1.0
    2016-06-06 07:12:44.849 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;255;3;0;2;2.0.0-beta
    2016-06-06 07:12:44.852 [DEBUG] [s.internal.MySensorsBridgeConnection] - Good,Gateway is up and running! (Ver:2.0.0-beta)
    2016-06-06 07:12:44.858 [DEBUG] [org.openhab.binding.mysensors       ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.core.thing.binding.ThingHandler}={thing.type=mysensors:bridge-eth, thing.id=mysensors:bridge-eth:gateway, service.id=279, service.bundleid=11, service.scope=singleton} - org.openhab.binding.mysensors
    2016-06-06 07:12:44.859 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:bridge-eth:gateway' changed from INITIALIZING to ONLINE
    2016-06-06 07:12:44.900 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'logging.persist'
    2016-06-06 07:12:44.990 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist'
    2016-06-06 07:12:45.047 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'home.items'
    2016-06-06 07:12:45.168 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'n1c0-mysensors:light:gateway:n1c0:status' has been added.
    2016-06-06 07:12:45.171 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'n1c1-mysensors:light:gateway:n1c1:status' has been added.
    2016-06-06 07:12:45.174 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'n1c2-mysensors:humidity:gateway:n1c2:hum' has been added.
    2016-06-06 07:12:45.178 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'n1c3-mysensors:humidity:gateway:n1c3:hum' has been added.
    2016-06-06 07:12:45.182 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'n1c4-mysensors:humidity:gateway:n1c4:hum' has been added.
    2016-06-06 07:14:50.818 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 1;3;1;1;1;1
    2016-06-06 07:14:50.820 [DEBUG] [nsors.handler.MySensorsBridgeHandler] - ACK received!
    2016-06-06 07:14:55.831 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 1;3;1;1;1;0
    2016-06-06 07:14:55.832 [DEBUG] [nsors.handler.MySensorsBridgeHandler] - ACK received!
    2016-06-06 07:28:01.373 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 1;3;1;1;1;1
    2016-06-06 07:28:01.375 [DEBUG] [nsors.handler.MySensorsBridgeHandler] - ACK received!
    2016-06-06 07:28:06.385 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 1;3;1;1;1;0
    2016-06-06 07:28:06.387 [DEBUG] [nsors.handler.MySensorsBridgeHandler] - ACK received!
    2016-06-06 07:32:21.567 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 1;3;1;1;1;1
    2016-06-06 07:32:21.568 [DEBUG] [nsors.handler.MySensorsBridgeHandler] - ACK received!
    2016-06-06 07:32:26.578 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 1;3;1;1;1;0
    2016-06-06 07:32:26.582 [DEBUG] [nsors.handler.MySensorsBridgeHandler] - ACK received!
    

    Seems ok.

    But I am not able to see the result in Openhab

    my.thing:

    mysensors:bridge-eth:gateway [ ipAddress="192.168.100.10", tcpPort=5003, sendDelay=200 ] {
            /** define things connected to that bridge here */
            light           n1c0   [ nodeId="1", childId="0", requestAck=true ]
            light           n1c1   [ nodeId="1", childId="1", requestAck=true ]
            humidity        n1c2   [ nodeId="1", childId="2" ]
            humidity        n1c3   [ nodeId="1", childId="3" ]
            humidity        n1c4   [ nodeId="1", childId="4" ]
    }
    

    my.item:

    Switch n1c0    "PFLANZENNAME1 Pumpe"                    <water> (gGF_irrigation01) { channel="mysensors:light:gateway:n1c0:status" }
    Switch n1c1    "PFLANZENNAME1 Pumpe Automatikmodus"     <water> (gGF_irrigation01) { channel="mysensors:light:gateway:n1c1:status" }
    Number n1c2    "PFLANZENNAME1 Bodenfeuchtigkeit max"    <water> (gGF_irrigation01) { channel="mysensors:humidity:gateway:n1c2:hum" }
    Number n1c3    "PFLANZENNAME1 Bodenfeuchtigkeit min"    <water> (gGF_irrigation01) { channel="mysensors:humidity:gateway:n1c3:hum" }
    Number n1c4    "PFLANZENNAME1 Bodenfeuchtigkeit"        <water> (gGF_irrigation01,gGF_eating) { channel="mysensors:humidity:gateway:n1c4:hum" }
    

    There are simply no values in openhab although I see the debug messages in the openhab log.
    Any idea how to fix it? I did not use the autodicovery of openhab paper UI. what confuses me is the name of the link used by openhab:

    2016-06-06 07:12:45.168 [INFO ] [home.event.ItemChannelLinkAddedEvent] - Link 'n1c0-mysensors:light:gateway:n1c0:status' has been added.
    

    That does not match the channel. is that ok?

    Thank
    Dakky

    EDIT: updated openhab log to complete startup process and added question

    OpenHAB

  • Some Questions with gardening node (sensor/accurator)
    dakkyD dakky

    Hello

    Ich want to implement a gardening node and found this project:
    http://iot-playground.com/blog/2-uncategorised/61-nrf24l01-arduino-balcony-irrigation-controller

    I think i am able to adopt this for my setup without the solar power part.

    There are still some question on the hardware-side:

    • the pumps
      When using this setup: i need one pump per plant. Is there a more efficient setup with one pump and valves? I searched for valves, but they seem to be far more expensive that these cheap pumps?
    • unknown parts on the pcb
      http://iot-playground.com/images/articles/029/20150620_135404x.jpg
      Can someone explain to me, what the items below the arduino are used for?
    • Power
      when using a 12v power supply a can use it to power the pumps (directly), the 5v arduino (via the RAW input pin) and the radio (via the 5V pin of the arduino + a 3v regulator)? Is that correct? did i miss anything? Any idea, how many pumps should run at the same time? or should it be limited to one per time on the controller side?

    Anything i should think about?

    thank
    Dakky

    Hardware

  • Doorbell node
    dakkyD dakky

    Hmm simply sleeping for 30secs after sending a bell message is not enough? the other sensors did not seem to be timing critical?#

    EDIT: a i see you need the repeating capabilities. so sleeping might be a problem. then u need to calculate a time diff

    Development

  • openHAB 2.0 binding
    dakkyD dakky

    kewl, thank 4 digging this up. I'm just evaluating openHab2 :D

    OpenHAB

  • SI7021 Multisensor - first try
    dakkyD dakky

    hmm ok 240uA is better of course, but still far away from

    @m26872 said:

    Mine sleeps at 11uA.

    Development multisensor si7021

  • SI7021 Multisensor - first try
    dakkyD dakky

    does the sleeping current come down to an acceptable level when removing the regulator? 1500uA is quite much for a battery powered node.

    Development multisensor si7021

  • My Slim 2AA Battery Node
    dakkyD dakky

    do u add these photos and comments to openhardware.io ? they are quite helpful

    My Project

  • My Slim 2AA Battery Node
    dakkyD dakky

    Arghls no DHT11 with this node? Dammit. But a step up converter should do it?

    My Project

  • 18V => 5V Step-Down
    dakkyD dakky

    Thanks 4 all the input!

    I thought about measuring only, but powering the node is a possibility i nearly ignores. Stupid me ☺
    This intercom has a regulated 18v DC power source. So i should be fine.

    General Discussion

  • Why can't I assign a static NODE_ID in one sketch; but not the other?
    dakkyD dakky

    what is your error?

    Troubleshooting
  • Login

  • Don't have an account? Register

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