Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tommas
    3. Topics
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by Tommas

    • Tommas

      Raspberry as mysensors gateway connection refused
      Troubleshooting • • Tommas  

      2
      0
      Votes
      2
      Posts
      296
      Views

      Tommas

      Ok. Sorry. Working --my-transport=rf24 --my-gateway=ethernet --my-port=5003 --my-gateway=ethernet
    • Tommas

      WakeOnLan over nrf24 radio
      Development • • Tommas  

      2
      0
      Votes
      2
      Posts
      461
      Views

      kimot

      @tommas And what about setting it in BIOS of your PC? It is normal function for PC.
    • Tommas

      Child X not present in node X
      OpenHAB • • Tommas  

      3
      0
      Votes
      3
      Posts
      1021
      Views

      Woodside

      I had exactly the same issue on Vera after upgrading my Gateway to 2.3.0. After upgrading the Gateway I had to add each node back individually. Four of my nodes had manual Node_IDs assigned and one had auto Node_ID. As it happened I added Nodes 1 and 2 first which were manual and then added the auto node. It automatically assigned node 3 as the next available node. I then added node 4 (manual) successfully but Node 3 would only add one of its child nodes. The problem was that the auto node had added Child ids of 1 to 4. When I added the manual node 3, it correctly added child id 0 but could not add the second child as child 1 had already been allocated by the auto node. I couldn't find any error messages to indicate the problem. I eventually found this LUA code which showed all the devices with the node and child ids that had been assigned. I deleted the auto node, changed the sketch to set the node manually and re-added it. Deleted node 3 and re-added and everything was fine. I realise this was for a Vera system, but the real problem was the order of adding nodes and probably more importantly mixing nodes with manual and auto node assignments in the same mesh. I will be using manual node assignment for all nodes going forward!
    • Tommas

      All things unitialized after upgrade openhab 2.3.0-snapshot
      OpenHAB • • Tommas  

      3
      0
      Votes
      3
      Posts
      1871
      Views

      Tommas

      @tommas It seems to work with the older mysensors binding: org.openhab.binding.mysensors-2.2.0-SNAPSHOT.jar . 3 of my 5 nodes updated the values in openhab2 (2.3.0~20180331153334-1)
    • Tommas

      Arduino mini pro 3.3 battery optimization code
      Development • • Tommas  

      23
      0
      Votes
      23
      Posts
      2817
      Views

      Tommas

      @korttoma Thank you very much, and sorry....
    • Tommas

      How connect si7021 and bh1750 to arduino mini pro
      Hardware • • Tommas  

      3
      0
      Votes
      3
      Posts
      1351
      Views

      manutremo

      @Tommas Hardware-wise, apart from the Vcc and GND pins, both I2C pins marked SDA and SCL should be connected to the I2C pins in the arduino (A4 and A5). Software-wise, each library should provide a "constructor" function which returns an object with which you can then read the measurements through the appropriate function. The I2C devices have an internal address which the libraries use to access the correct device through the bus. Most of the devices have their I2C adress hardcoded; some allow you to modify it e.g. to avoid conflicts with other devices or to allow connecting two equal devices to the same board. In this case, the constructor will need you to pass the adress as a parameter. I have no experience with those two sensors but I have a node with a light sensor similar to the bh1750 (tsl2591), and a temp/hum/baro sensor similar to the si7021 (bme280). Just to give you an idea, the constructor for the bme280 (using the Adafruit library) looks like: Adafruit_BME280 bme; and then the lines to read the measurements look like (in "forced measure" mode): bme.takeForcedMeasurement(); temp=float(long(bme.readTemperature()*10))/10.0; //round to 1 decimal place hum=(int) bme.readHumidity(); //Humidity in domoticz is an integer baro=round(bme.readPressure()/100); //Convert from Pa to hPa (mb) and round to 1 decimal place While for the TSL2591 the constructor and readings (in IR + visible mode) are like this: Adafruit_TSL2591 tsl = Adafruit_TSL2591(2591); // pass in a number for the sensor identifier (for your use later) << more code >> uint32_t lum = tsl.getFullLuminosity(); //getFullLuminosity in the library already enables and disables the device uint16_t ir, full; ir = lum >> 16; full = lum & 0xFFFF; visible=tsl.calculateLux(full, ir); In addition to this, you may need to initialize the sensor, set some configuration... each library is different and therefore should provide documentation explaining how it works.
    • Tommas

      Connect esp nodes to ethernet gateway
      General Discussion • • Tommas  

      10
      0
      Votes
      10
      Posts
      2155
      Views

      korttoma

      If you wan to run all nodes throug one gateway you need NRF24 on all of your devices. Both gateway and sensor nodes. But you only use the Gateway code on the Gateway and sensor code on the rest of them and only the Gateway needs a connection to your WiFi.
    • Tommas

      Mysensors si7021 sketch
      Development • • Tommas  

      11
      0
      Votes
      11
      Posts
      2416
      Views

      Nca78

      Hello, you are missing the sensor.begin() to initialize the sensor. Return value will tell you if initialization succeeded or not. if (!sensor.begin()) { #ifdef MY_DEBUG Serial.println("FAILED TO INIT SENSOR !!!!"); #endif ... }
    • Tommas

      GUVA-S12SD UV sensor sketch required
      Development • • Tommas  

      2
      0
      Votes
      2
      Posts
      2343
      Views

      scalz

      Hello, if you're new to MySensors: you can use the light sensor example, change the calculation for your sensor, and also change the msg type to UV. https://www.mysensors.org/build/light-lm393 or use and change directly the UV example https://www.mysensors.org/build/uv According to adafruit, your calc should look something like that: UVindex = (ADC reading * Sensor_VCC / 102.4) where Sensor_VCC in your case would be 3.3V. You might need to adapt for a variable voltage as it will follow the battery voltage. In case you have trouble, post your sketch.
    • Tommas

      Configure Sensebender Micro Battery internal message
      OpenHAB • • Tommas  

      2
      0
      Votes
      2
      Posts
      863
      Views

      Tommas

      @Tommas Cant nobody help me? Thanks T
    • Tommas

      Openhab2 Last Update value
      OpenHAB • • Tommas  

      1
      0
      Votes
      1
      Posts
      1468
      Views

      No one has replied

    • Tommas

      Which microcontroller for Node
      General Discussion • • Tommas  

      21
      0
      Votes
      21
      Posts
      4620
      Views

      mfalkvidd

      @Tommas yes you can. Compare the value in the Pro Mini's datasheet with the numbers in the datasheets for your sensors.
    • Tommas

      Help make Openhab2 MQ2 AirQuality work
      OpenHAB • • Tommas  

      9
      0
      Votes
      9
      Posts
      2835
      Views

      Tommas

      @MagnusF YESS! It was the problem Thank you very much!!
    • Tommas

      Combine airquality, temperature code and send to the ethernet gateway
      Troubleshooting • • Tommas  

      9
      0
      Votes
      9
      Posts
      1810
      Views

      gohan

      For alarm you need to create a rule in Openhab that when value goes over a certain value it sets of the alarm
    • Tommas

      How nodes select gateways?
      General Discussion • • Tommas  

      2
      0
      Votes
      2
      Posts
      629
      Views

      mfalkvidd

      @Tommas there can only be one gateway per MySensors network. So you'll need to put the nodes on different networks. See https://www.mysensors.org/about/network for more info on how nodes, gateways and networks work. How to set change the channel depends on which transport you are using. Look for the channel setting in MyConfig.h. All nodes in one MySensors network must use the same channel.
    • Tommas

      openhab mysensors ethernet gateway value missing
      Troubleshooting • • Tommas  

      6
      0
      Votes
      6
      Posts
      1697
      Views

      Tommas

      @TimO Deat TimO! Its working now! I had to restart openhab service Thanks again! Best regards T
    • Tommas

      TSM:FPAR:No Reply
      Troubleshooting • • Tommas  

      42
      0
      Votes
      42
      Posts
      12887
      Views

      Newzwaver

      Ok, spent half the day trying to figure out what I was doing wrong and all I had to do was read the forum. The radios I purchase were junk. Not one of the 10 worked. Had everything placed on a board figured my workmanship was a little off or something. The radio was last to be checked. WOOOOOOWWWWO Thanks Everyone this post saved me a lot more time.