• Using PLEG to copy a sensor value to another

    So I am having trouble trying to do something with PLEG. I have an outside temp sensor which is on my OneWire network. I also have my MySensors thermostat bridge that will accept a value for the outside temp that will get displayed on the actual wall thermostat display. I just present a separate device for the outside temp as a place to set the value. I am trying to find a way to copy the value from the OneWire sensor to the thermostat outside temp device. It would be nice if I could do it any time the value changes, but I would also accept doing it say every minute. When I look at the options for the temp sensor, all I have is "if the temp goes above", "if the temp goes below" or "if the battery goes below". Because of this I am assuming that I will have to do it once a minute, but maybe someone knows how to do it on change of the value. My main thing is that I can't figure out how to copy the value over.

    posted in Vera
  • RE: nRF5 action!

    I just now posted a wireless Forth REPL for nRF52's on github:
    https://github.com/rabbithat/nRF52_wireless_Forth_REPL

    This allows you to wirelessly connect with a nRF52 remote node to update and/or interact with your code exactly the same as if the remote node was directly connected to your computer.
    😀 😀 😀

    posted in My Project
  • RE: Looking for a good platform to programm webserver linked to webservices

    @axillent
    Hello,

    I don't know if it will help you, as everyone has his favorites.
    For this task, at work, or for HA hobby and my gw, I use:

    (sorted by my preferences)

    For backend:

    1. Golang (for multiple reason is my favorite for these kind of micro services)
    2. Nodejs (is nice too)
    3. Python (same)

    For frontend:

    1. VueJs + HTML+CSS (for CSS I usually prefer not using big CSS frameworks, too much overhead and traps. and it is more compact when I need to embedd the webserver+frontend in an espressif mcu like my gw)
      You can also use Angular, or React (I don't know much about this one)

    For Native/hybrid app vs webapp (you'll need to know if you need a webapp which needs more work when you want a nice responsive display on mobile, or if you want a native or hybrid app)

    • Ionic or Nativescript

    Ide:

    • VS Code (I use it for almost all my software dev)
    • Goland (but VS Code is working for Golang)

    There are bunch of examples on github, for lot of languages as well. Never exactly as you wish, so you'll need to pick the envionment you prefer, dig and code..
    Or code from scratch, what I choosed, as it takes almost same time and fit my coding "conventions" 🙂

    I hope this helps

    posted in My Project
  • RE: Novice requesting PCB review and advice for a window / door sensor

    I thought it was more common for the ISP header to be 2 rows of 3 pins instead of a straight 6 pins? Not that you can't make that work.

    posted in Hardware
  • RE: nRF5 action!

    For anyone interested, I posted a simple nRF52 Tx and Rx demo program written in Forth: https://github.com/rabbithat/nRF52_SimpleTxRxDemo

    This code is a good starting point for beginners, because it is already working. You can easily modify the code to do whatever transmitting and receiving you want.

    posted in My Project
  • RE: 💬 The Logger Machine - Short and long term serial logging

    @terxw - sorry, the manual is wrong and unclear here - when you talk to the bluetooth module you should not connect to the programming pins. they are only for programming atmega chip. Must be a copy/paste error when i wrote the manual i think. Looking at the schematics RX goes only from that programming pin to the atmega and not bt module. TX has a input protection diode as well, so you need to swap that one to.

    0_1544464557167_161c51d7-ea75-45a7-8368-705dafcdac8e-image.png

    As you see in the image, RX and TX from that programming point is only connected to atmega chip. Try connecting them to ordinary input. In worst case scenario, the diodes are making the serial communication fail at the baud rate you are testing... (should work with 115200 since thats what i set it to) but worst case scenario, solder wires to BT module and test.

    Also dont power it using BAT (it goes through a dc/dc booster if you do). Try a regulated 3.3v power source and input on 3.3v pin.

    Also, change the both No line ending to Both NL and CR

    Edit: I will be home on thursday, traveling at work, but I have a identical module i build the same time as yours I can test on, if you dont want to solder around and mess the module up.

    posted in OpenHardware.io
  • RE: 💬 The Logger Machine - Short and long term serial logging

    @terxw - ok.
    4800 should work just fine.
    The command should be AT+BAUD3
    I used this link when i designed and wrote this - it has some more in-depth analysis.
    https://www.instructables.com/id/AT-command-mode-of-HC-05-Bluetooth-module/

    What good to know is that if you are the one who bought the module from me just recently from ebay this is tested and verified working by me so we should get this sorted!!

    Can you post a picture on how it looks (connections) when you try to change baud-rate?

    posted in OpenHardware.io
  • RE: 💬 Easy/Newbie PCB (RFM69 HW/W edition) for MySensors

    @ferro - Hi no - the RFM version is 3.3v only. nrf24 data pins are 5v tolerant but the rfm radio isnt so thats why.

    posted in OpenHardware.io
  • RE: OpenHAB 2.3 and MQTT

    @martim I'm sorry myFriend. I've tried OpenHaB a couple of years ago. But in those days I couldn't get it to work. To complicated for me. That's why I've switched to Domoticz. That does what I need. You could give that - or another controller - a try. OpenHAB is overly complicated if you ask me.

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

    @dakipro ah ok you cheated 😄

    I thought you kept the plastic layer that's glued on top of the wood panel. I'll try to get some samples from the company selling those here and make some tests then.

    posted in General Discussion