Use template sensor
- sensor:
- name: "Adaptive brightness"
unique_id: adaptive_brightness_id_1
state: >-
{% set input_value = (states('sensor.lux_sensor_illuminance_lux')|int) %}
{% set min_input_value = 400 %}
Install Dafang Hacks on the Wyze Cam.
Once running and all is functional, continue. Set video bitrate to 1500, VBR, 30fps.
Create custom dashboard or web interfaces.
ref.: node-red-contrib-uibuilder
Examples include receive and send from/to node-RED.
| // Set ip address | |
| ipaddress1 <ip> | |
| ipaddress2 <gateway> | |
| ipaddress3 <subnet> | |
| ipaddress4 <dns> | |
| // RF bridge Portisch with unknown but supported devices | |
| rfraw 166 |
| { | |
| "homekit_services": [ | |
| { | |
| "Name": "Name", | |
| "service": "AirPurifier", | |
| "characteristics": { | |
| "Active": "0, 1 (active, inactive)", | |
| "TargetAirPurifierState": "0,1 (manual, auto)", | |
| "CurrentAirPurifierState": "0,1,2 (inactive, idle, purify air)", | |
| "LockPhysicalControls": "0,1 (lock disabled, lock enabled)", |
| FROM nodered/node-red-docker:0.20.2 | |
| USER root | |
| RUN apt-get update | |
| RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - | |
| RUN apt-get -y install git python make g++ libavahi-compat-libdnssd-dev libnss-mdns dbus | |
| RUN npm install node-red-node-discovery | |
| COPY start.sh / |
| <?php | |
| include 'functions.php'; | |
| include platformSlashes("lib/ccxt.php"); | |
| $allcoins = file_get_contents(platformSlashes('lib/data/coinlist.json')); | |
| $coinList = json_decode($allcoins, true); | |
| echo "debug..."; | |
| echo sizeof($config['api']). " keys found.<br/><br/>"; | |
| if(isset($config['api']) && sizeof($config['api'])>0){ | |
| foreach ($config['api'] as $key => $value) { |
| #!/bin/sh | |
| . /etc.defaults/rc.subr | |
| case $1 in | |
| start) | |
| /var/packages/debian-chroot/scripts/start-stop-status start | |
| chroot /volume1/@appstore/debian-chroot/var/chroottarget service cron start | |
| chroot /volume1/@appstore/debian-chroot/var/chroottarget service dnsmasq start | |
| chroot /volume1/@appstore/debian-chroot/var/chroottarget service lighttpd start |