Navigation

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

    Best posts made by sburlot

    • RE: What did you build today (Pictures) ?

      @dbemowsk 🙂
      It's a Raspberry 3, with a cheap 480x320 screen, and a Python+PyGame script.

      Start of my script comes from this script
      Temp+Humidity comes from mySensors SenseBender Micro via NodeRed/MQTT
      Solar power comes from my inverter via a script (also MQTT)
      Weather from WeatherUnderground

      0_1520784994213_screenshot.jpg

      posted in General Discussion
      sburlot
      sburlot
    • Sensebender Micro reports V_HUM > 100

      Since 2 weeks, my outdoor sensor, a Sensebender Micro with a NRF24L01+, stopped reporting values to Domoticz at night, then resumed during the day.

      Here the temperature goes around 0C with 100% RH.

      After trying to add a capacitor (10uF, then changed to a 100uF), I reflashed the Sensebender, installed the latest gateway on my Raspi gateway, still no luck.

      Then, running the gateway with the debug flag, I noticed that the sensor reported humidity > 100%. And Domoticz doesn't store this value. (Why?)

      TSF:MSG:READ,1-1-0,s=1,c=1,t=0,pt=7,l=5,sg=0:2.7
      TSF:MSG:READ,1-1-0,s=2,c=1,t=1,pt=2,l=2,sg=0:100
      TSF:MSG:READ,1-1-0,s=1,c=1,t=0,pt=7,l=5,sg=0:3.0
      TSF:MSG:READ,1-1-0,s=2,c=1,t=1,pt=2,l=2,sg=0:101
      TSF:MSG:READ,1-1-0,s=1,c=1,t=0,pt=7,l=5,sg=0:3.4
      TSF:MSG:READ,1-1-0,s=2,c=1,t=1,pt=2,l=2,sg=0:101
      TSF:MSG:READ,1-1-0,s=1,c=1,t=0,pt=7,l=5,sg=0:3.5
      TSF:MSG:READ,1-1-0,s=2,c=1,t=1,pt=2,l=2,sg=0:101
      

      So if your sensor doesn't report values to your controller, check that the values are within a valid range.

      For now, I've put some Kapton tape on the Sensebender Micro, so the side in contact with the box is insulated. We'll see how it works.

      I've read all the posts on the forum, there aren't a lot of explanation on how design an outdoor enclosure, so I'll appreciate any hints!

      I'll try nail polish, as seen on this video: How to Waterproof Electronics by GreatScott!

      Hope this post will save you some time diagnosing a non-responding sensor.

      posted in Hardware
      sburlot
      sburlot
    • RE: What did you build today (Pictures) ?

      I built a GPIO interface for the Raspberry PI using @GertSanders PCB (link)
      I ordered the PCB via OSH Park, successfully soldered 2 and my setup is now much cleaner without these jumper cables.
      For the second one, I soldered the NRF directly on the PCB (just because I wanted to gain some height), and everything works flawlessly.

      Big thank to @GertSanders for his PCB!

      Mandatory Pic

      My gateway runs mysgw, Mosquitto and Node-Red.

      In the back is my Raspberry Dashboard displaying the weather, info from my solar installation and the sensors MQTT messages.

      posted in General Discussion
      sburlot
      sburlot
    • RE: 💬 Sensebender Micro

      Beware that the Si7021 can return a RH value < 0 or > 100, and Domoticz will not store it. Clamp the humidity to a valid range to avoid losing values.

      Lately, my Sensebender reported values of 101-104 during the night. Took me some time to understand why Domoticz complained it didnt receive any values.
      It received these values, but didnt like them.

      See section 5.1.1 of the Si7021 datasheet says:
      Due to normal variations in RH accuracy of the device as described in Table 4, it is possible for the measured value of %RH to be slightly less than 0 when the actual RH level is close to or equal to 0. Similarly, the measured value of %RH may be slightly greater than 100 when the actual RH level is close to or equal to 100. This is expected behavior, and it is acceptable to limit the range of RH results to 0 to 100%RH in the host software by truncating values that are slightly outside of this range.

      posted in OpenHardware.io
      sburlot
      sburlot
    • RE: Cannot run MySensors on RPI 3

      @kkanedaa said in Cannot run MySensors on RPI 3:

      gcc -MT build/drivers/Linux/log.o -MMD -MP -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_GATEWAY_MQTT_CLIENT -DMY_DEBUG -DLINUX_SPI_SPIDEV -DMY_MQTT_CLIENT_ID="mygateway1" -DMY_MQTT_SUBSCRIBE_TOPIC_PREFIX="mysensors-in" -DMY_MQTT_PUBLISH_TOPIC_PREFIX="mysensors-out" -DMY_CONTROLLER_IP_ADDRESS=192,168,xx,166 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/SPIDEV -c drivers/Linux/log.c -o build/drivers/Linux/log.o

      I dont know if it's important, but your configure didn't detect the BCM chip for SPI?
      Did you enable SPI via raspi-config (or /boot/config.txt) ?

      posted in Troubleshooting
      sburlot
      sburlot
    • RE: Combine a controller and a gateway in a raspberry pi

      I use a Raspberry 3 that is a MySensors MQTT Gateway, a Domoticz Controller, a Mosquitto Broker and Node-Red. The Raspi has more power than needed. I even had InfluxDB+Grafana on this same Raspberry.

      The NRF24L01+ is connected directly to the pins. I have ordered a PCB to mount the NRF, but I haven't found the time to install it.

      The PCB:
      https://www.openhardware.io/view/17/Raspberry-Pi2-GPIO-interface-for-NRF24L01

      posted in General Discussion
      sburlot
      sburlot