@trond-arntzen I just use a voltage divider with 1Megaohm and around 82K resistor for measuring my solar charged battery.
@Mustang65 That ups board looks good. I could do with something similar as a battery backup for my raspberry pi's. Of course they would need a 12V to 5V conversion.
@skywatchYup same software, just a boot to the raspbain desktop on each one, just idling at the desktop after boot from same sd card, one shows lightening bolt, other one fine. Same sd card, same power supply, same cable, just two different rasp pi 3b+ boards.
@skywatch said in GPIO Button toggle:
@rpyne Do you want the GPIO to be on when you push the button and GPIO off when you release the button, or do you want it to be like, press, GPIO on, press, GPIO off, press, GPIO on etc.....???
I want it to toggle with each press, press, GPIO on, press, GPIO off, etc. I figured out how to do it with two separate rules for on and off, but it really should have a toggle function so that it only takes one rule.
I also want the GPIO settings to allow setting the pull-up or pull-down built in to the newer Rpis so I don't have to use an external resistor to get stable inputs. I tried setting them with the boot overlay, but never could get the inputs to work if initialized through the overlay.
Version 1.0.8 was released a little while ago.
A lot was rewritten under the hood.
It also allows a serial device to also be a 'thing' itself. This is because the Candle Receiver implemented @mfalkvidd 's code to show transmission succes and error rate.
@Westie Testing using a docker image of the gateway... Update looking good - I have dropped the baud rate down to something more compatible with my clone nano.
I found a useful tool to check the incoming serial from a Python point of view (not running the adapter when I do it) - python3 -m serial.tools.miniterm --parity N /dev/ttyUSB0 19200. This prints out the messages from the Serial Gateway in nice text when the speed is correct.