Most recent activity
-
- 19 comments
- 1,054 views
-
By the way, if this is allowed here... if anyone wants to tinker with Twilio it would help us both if you use my referral code. We each get a $10usd credit if you use my link.
http://www.twilio.com/referral/akNa6GTwilio is cheap for low volume scenarios. It is like $1/mo base plus 1/7 penny per SMS.
-
I'm working with the dashboards now. What are all of your opinions on the two flavors of Node-Red dashboards. It looks like the node-red-contrib-ui one is being deprecated and going to node-red-dashboard .
The problem I think I see is that it is hard to move back and forth between the two. I am a total rookie but when I built a flow in the older one and tried to switch to the newer one there were a lot of errors even beyond the obvious UI nodes. Not sure.
Anyway, I have moved to the newer dashboard and have two tabs: "Home" for the puck and "Rpi" for the host pi metrics.
I have mirror systems running on a Pi-zero-w and a Pi-4. I was tinkering with the RPi dashboard and the Pi-4 helps me test out the fan control portion of the system that activates on temp>x. My screenshot is on the Pi-4 but the only difference is that on a Pi-zero-w the utilization is greater. Still low on the zero but not that low.
-
@Gordon , your suggestions for formatting the SMS messages worked really well. Using the Node-Red function block I can change my SMS Alert Messages to be more reader friendly instead of the engineering geek cryptic integer and T/F payload data points.
I super appreciate the help given here. I have enough SW Dev background to know that various things can be done but I didn't know how to get them done in this Espruino / Node-Red environment.
I now have
- Button Press alerts with a 10 second grace period where the wearer can cancel the pending alert.
- Motion detection with a 1 hour countdown timer. Detected motion will always reset the countdown so that the SMS Lack of Motion alert fires after 1 hour of no motion (only during normal waking hours).
- Battery Level is recorded with all messages
- RSSI can be used to determine if the Espruino has left the building. The 'left the building' state can halt the lack of motion timer. Obviously, if the puck has moved out of range then the motion event can't reset the timer.
- Button Press alerts with a 10 second grace period where the wearer can cancel the pending alert.
-
- 3 comments
- 237 views
-
-
I'll figure it out, but it would be helpful to others to have Try 6 example in https://www.espruino.com/Flashing+Lights be a quick blink every x secs type of flash.
Asymmetric setting of the pin. Just a quick-blink to indicate a particular state is engaged. For example, if my Motion-Detection state is detecting motion, I would prefer quick-flash rather than full-on blue.
1100000000110000000011000000001100000000
-
Awesome! Now I know how to format message payloads. Thank you @Gordon , this works perfectly as you suggested. The method for referring to Message-A from Message-B is going to be useful in the future.
I also used this formatting function to not only format my lack of motion alerts, but also limit them to waking hours only.
-
- 4 comments
- 275 views
@Gordon not sure how authoritative this is...
https://randomnerdtutorials.com/upgrade-from-node-red-contrib-ui-to-node-red-dashboard/
Upgrade from Node-RED-Contrib-UI to Node-RED-Dashboard
[NEW GUIDE] Learn how to use Node-RED Dashboard with your Raspberry Pi
If you followed the Build a Home Automation System for $100 course prior to August 27 2016, you know that I’ve used Node-RED-Contrib-UI to build the user interface for the home automation system. But, sadly the guy that developed the Node-RED-Contrib-UI will no longer be able to update that package.
Luckily, the Node-RED team announced that Node-RED-Contribu-UI will continue to be developed under a new name: Node-RED-Dashboard.