are you using the shared amtm email config or your own? i know which i'd suggest usingReleasing v1.18 today... enjoy!
What's new?
v1.18 - (September 19, 2022)
- ADDED: Email notification capabilities for major grid events: Down, Syncing or Return to Normal. Added the necessary setup menu items to record TO:, FROM:, SMTP Server, SMTP Port, Password, etc. Please note, this has only been tested on SSL SMTP connections, like smtps://smtp.gmail.com on port 465. I can add other methods of authentication if requests are made. Please note #2, in order for you to make use of a service like gmail in a case like this, you will need to obtain an "app password" to provide the necessary authentication using this method. And note #3, your smtp password is encrypted and saved in a config file that resides locally on the router under /jffs/addons/pwrmon.d/pwrmon.cfg, however, please know that due to the security constraints on these types of routers, I would still consider this to be an unsafe method of storage, and could still very easily be compromised by someone who knows what they're doing. Only use non-essential email accounts to send or receive these emails so you don't risk a primary account compromise!
- CHANGED: The behavior of the "pwrmon -screen" command, so that when you execute this commandline parameter, it first will look for orphaned screens and wipe them... then, it will launch PWRMON into a new screen environment, and connect to it. This skips the original behavior where it drops back to a command prompt, and asks the user to connect to the PWRMON screen by requiring the user to run the "screen -r pwrmon" command. If a screen session is already running, and you type "pwrmon -screen", it will then connect to this screen session without requiring any user input. Thanks much to @TITAN for the great suggestion!
Download:
Code:curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/PWRMON/master/pwrmon-1.18.sh" -o "/jffs/scripts/pwrmon.sh" && chmod a+rx "/jffs/scripts/pwrmon.sh"
Significant Screenshots:
On the main page (1), a new visualization of the Powerwall Config, showing charge, email alerts, PW mode, and reserve power
View attachment 44300
From the setup screen, the new options available to configure your powerwall email notifications!
View attachment 44301
I'm actually using my own... I was seriously considering using the shared AMTM config, but decided against it. I may still reconsider in the future, but I wanted the experience to build this into the app and have it feel more like a one-stop-shop.are you using the shared amtm email config or your own? i know which i'd suggest using
if i remember what i did in connmon, i think i used the shared credentials but my own targets. by the way, if you feel like having discord notifications, feel free to pick up that code ;-)I'm actually using my own... I was seriously considering using the shared AMTM config, but decided against it. I may still reconsider in the future, but I wanted the experience to build this into the app and have it feel more like a one-stop-shop.
Thanks!! I was also looking into SMS notifications, but man... they all CHARGE $$$!if i remember what i did in connmon, i think i used the shared credentials but my own targets. by the way, if you feel like having discord notifications, feel free to pick up that code ;-)
yeah SMS usually incurs a cost. i did look at a library that provides all sorts of notification options but felt like it was cheating and rolled my own. i think i landed with Discord, and Pushover which does have mobile app options - cant remember if free/paid or free to a certain limit.Thanks!! I was also looking into SMS notifications, but man... they all CHARGE $$$!
Now that you caught up with @Jack Yaz , we have to keep him busy!Thanks!! I was also looking into SMS notifications, but man... they all CHARGE $$$!
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/PWRMON/master/pwrmon-1.20.sh" -o "/jffs/scripts/pwrmon.sh" && chmod a+rx "/jffs/scripts/pwrmon.sh"
We are not out of it yet.... My neighbor had a tree land on their house.My thoughts go out to everyone in the Southwest Florida area having just experienced massive CAT5 Hurricane Ian. In recognition of this, I have added 3-day weather forecast pages to PWRMON to give you an idea on the current/future conditions for your local area.
What's New?
v1.20 - (September 29, 2022)
- MAJOR: In recognition of major Hurricane Ian, I have integrated a 3 day weather forecast that includes today's current conditions, giving you all necessary info to get a good idea what's going to happen with the weather. Forecast includes current/upcoming conditions, temperature, and wind direction/speed. Ability to see detailed conditions expands on the current and upcoming conditions, including chances of rain. This functionality uses a free API from weather.gov, and determines your location from the coordinates of your WAN exit IP to determine the weather for your local region. It will be close, but may not be exactly the weather that is happening on top of your house. Will look into allowing you to add custom longitude and latitude coordinates in the near future.
- CHANGED: Included JQ as part of the prerequisites needed to be installed when PWRMON is set up for the first time. This was my error, thinking that the JQ tool was either already installed by default, or came along with an Entware install by default. Now, when going into Setup -> Config, the script will check for the existence of JQ, and will prompt an install if it's not already present under /opt/bin. JQ is necessary for pulling data from your Tesla Powerwall Gateway API for the purposes of extracting current power stats. Added a check when the script starts up to ensure that all prerequisites are in place before running the script. Thanks to @monakh for noticing this behavior with JQ on a fresh install of VPNMON-R2!
Download:
Code:curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/PWRMON/master/pwrmon-1.20.sh" -o "/jffs/scripts/pwrmon.sh" && chmod a+rx "/jffs/scripts/pwrmon.sh"
Significant Screenshots:
The (W)eather page shows your WAN exit city, longitude, latitude, day, temp, wind speed, wind direction and current/forecast conditions
View attachment 44485
The (M)ore Details page shows expanded weather conditions that will also include chances of rain, rain fall amounts, etc.
View attachment 44486
I'm so sorry... I know... it's been a rough one. A 1-in-a-500yr event apparently.We are not out of it yet.... My neighbor had a tree land on their house.
Many carriers allow you to email them with your phone number as the recipient. For example, on Verizon in the US, its “yourphonenumber@vtext.com”. I don’t believe they charge anything. Other carriers might. Here is a list of addressesyeah SMS usually incurs a cost. i did look at a library that provides all sorts of notification options but felt like it was cheating and rolled my own. i think i landed with Discord, and Pushover which does have mobile app options - cant remember if free/paid or free to a certain limit.
List Of Email-To-SMS Addresses - AVTECH
Room Alert Monitors, Room Alert Manager and your account at RoomAlert.com can send text message alerts to mobile devices by email using email-to-SMS addresses. An email-to-SMS address typically consists of a 10-digit mobile phone number and the mobile carrier’s domain name, in the following...avtech.com
That's such a great idea, @JGrana! I just gave it a shot, and it works! But you're right... it's a VERY short message. I think I have enough room for just a very short sentence, but that would work!Many carriers allow you to email them with your phone number as the recipient. For example, on Verizon in the US, its “yourphonenumber@vtext.com”. I don’t believe they charge anything. Other carriers might. Here is a list of addresses
Most are limited, think “send very short messages”.
I would love to, @MatteoPV! It just makes it very difficult to develop for when you don't have anything on your end to test with, you know? But if you have some info on how this setup works, or if you can refer me to some developer resources, I can check into it?In the future, will it be possible to make the plugin usable also for the Solaredge monitoring system? It is quite common and very similar in functioning
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/PWRMON/master/pwrmon-1.21.sh" -o "/jffs/scripts/pwrmon.sh" && chmod a+rx "/jffs/scripts/pwrmon.sh"
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/PWRMON/master/pwrmon-1.22.sh" -o "/jffs/scripts/pwrmon.sh" && chmod a+rx "/jffs/scripts/pwrmon.sh"
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/PWRMON/master/pwrmon-1.25.sh" -o "/jffs/scripts/pwrmon.sh" && chmod a+rx "/jffs/scripts/pwrmon.sh"
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/PWRMON/master/pwrmon-1.26.sh" -o "/jffs/scripts/pwrmon.sh" && chmod a+rx "/jffs/scripts/pwrmon.sh"
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!