Originally posted by francrouge
View Post
Announcement
Collapse
No announcement yet.
HS3 Pushover Plugin
Collapse
X
-
Originally posted by rprade View PostThe pushover plug-in supports HomeSeer replacement variables. For a string of text, I send it to a virtual device's string and use the virtual device's replacement variable in Pushover messages.
Comment
-
Here is one that sends me the current temperature of our freezer and sends me a message if it is over 18F as long as it is not in a defrost cycle. $$DSR:1766: is the freezer temperature device
Here is one that sends me a notice when my HomeSeer server CPU usage is excessive. The two replacement variables are Jon00 computer performance monitoring devices.
The above event creates this message
HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon
Comment
-
Originally posted by francrouge View PostHi all,
Can we do message replacement variable you can use in Pushover messages or emails.
You can use Homeseers replacement variables:
https://www.homeseer.com/support/hom..._variables.htm
$$DSR
$date
$time
$$date
$$time
etc...
Comment
-
Originally posted by gjelsvik View PostYes you can.
You can use Homeseers replacement variables:
https://www.homeseer.com/support/hom..._variables.htm
Comment
-
Originally posted by beerguy View PostI've been using Pushover 3P for some time now and love it. I'm setting up a new ZeeS2 this morning and can't find the plugin in the list. I'm not sure if it's something on my end, Homeseer's plugin list, or with the app. Any guidance?
Thanks for a great plugin.
Pat
If it is still not there then all I can say is it must be an issue with the updater because HS have taken away all control from self hosting for developers and now have responsibility for it.
In a pinch however you might be able to find it at http://www.homeseer.com/updates3rd3/...r_0_0_0_42.zip
Comment
-
New Pushover user
So far this is very nice - Near instant notification as opposed to my current way which is sending an email to my phone carriers text service number.
While modifying events today I notice that maybe every third time I hit the "Update" button for an event, I get a page full of raw code. I believe it is the entire event pages raw code. Here is a snippet.
HTML Code:"EventActions_249","\u003cform id=\u0027EventActForm_249_A0\u0027 name=\u0027EAF_249\u0027 method=\u0027post\u0027\u003e\r\n\r\n\u003cscript\u003e\r\n$(function() {\r\n $( \u0027#DivEvActDrag_249_A0\u0027 ).draggable({revert:\u0027invalid\u0027,stack:\u0027div\u0027});\r\n $( \u0027#DivEvActDrag_249_A0\u0027 ).droppable({hoverClass:\u0027drag-hover\u0027,accept:\u0027.DivEvActDragClass\u0027,\r\n drop: function( event, ui ) {\r\n var dropID=$(this).attr(\u0027id\u0027);\r\n var dragID=ui.draggable[0].id;\r\n var theData=\u0027action=dragdrop\u0026\u0027+dropID+\u0027=dropped\u0026\u0027+dragID+\u0027=dragged\u0027;\r\n commonAjaxPost(theData,\u0027Events\u0027);\r\n }\r\n});\r\n});\r\n\u003c/script\u003e\r\n\u003cdiv id=\u0027DivEvActDrag_249_A0\u0027 class=\u0027DivEvActDragClass\u0027\u003e\r\n\u003ctable cellspacing=\u00270\u0027 width=\u0027100%\u0027 \u003e\r\n\u003cdiv id=\u0027DivAction_249_A0\u0027 \u003e\r\n\r\n\u003ctr \u003e\u003ctd class=\u0027event_Actions_0\u0027 align=\u0027left\u0027 colspan=\u002720\u0027 \u003e\r\n\u003ctr class=\u0027event_Actions_0\u0027 \u003e\r\n\u003ctd class=\u0027event_CondThen_Width\u0027 colspan=\u00271\u0027 style=\u0027 white-space: nowrap;\u0027 \u003e\r\n\r\n\u003c!-- jqDropList ActTHENNEVER_249_A0_ID598385--\u003e\r\n\u003cscript\u003e\r\n$(function() {\r\n $(\u0027#ActTHENNEVER_249_A0_ID598385\u0027).change( function() {\r\n var value = $(this).val();\r\n value = encodeURIComponent(value);\r\n var theID;\r\n var theform =$(\u0027#\u0027+$(this)[0].form.id);\r\n var theData =
The size of the HS event page - before this happens - is approximately 3 and 1/4 page - where I am drilled down in my event view to where the Pushover events now reside. That's probably not a lot compared to others.
I cannot compare this to anther events when I change them, as none have an "Update" button like this one does.
In addition - I'm using the latest version of Chrome, and I'm thru a VPN at the time of occurrence.
When setting up the first set of events (Locally, using Chrome on same Network) I did not have this occur. Maybe about 15 events worth with no issue.
Anyway - I'm not complaining,mind you. Just letting you know. It's a great plugin! I'm available for testing if this is something bigger than just me.
Thanks!
Comment
-
Originally posted by rprade View PostHere is one that sends me the current temperature of our freezer and sends me a message if it is over 18F as long as it is not in a defrost cycle. $$DSR:1766: is the freezer temperature device
[ATTACH]69892[/ATTACH]
Here is one that sends me a notice when my HomeSeer server CPU usage is excessive. The two replacement variables are Jon00 computer performance monitoring devices.
[ATTACH]69897[/ATTACH]
The above event creates this message
[ATTACH]69898[/ATTACH]
Status 66.56 = Dim
Value 66.56 = "66.6 F"
The resulting Pushover msg shows "66.56"
Thanks!
Comment
-
I get this same problem too, maybe 10% of the time. I use Chrome on a Mac.
Originally posted by Monk View PostSo far this is very nice - Near instant notification as opposed to my current way which is sending an email to my phone carriers text service number.
While modifying events today I notice that maybe every third time I hit the "Update" button for an event, I get a page full of raw code. I believe it is the entire event pages raw code. Here is a snippet.
HTML Code:"EventActions_249","\u003cform id=\u0027EventActForm_249_A0\u0027 name=\u0027EAF_249\u0027 method=\u0027post\u0027\u003e\r\n\r\n\u003cscript\u003e\r\n$(function() {\r\n $( \u0027#DivEvActDrag_249_A0\u0027 ).draggable({revert:\u0027invalid\u0027,stack:\u0027div\u0027});\r\n $( \u0027#DivEvActDrag_249_A0\u0027 ).droppable({hoverClass:\u0027drag-hover\u0027,accept:\u0027.DivEvActDragClass\u0027,\r\n drop: function( event, ui ) {\r\n var dropID=$(this).attr(\u0027id\u0027);\r\n var dragID=ui.draggable[0].id;\r\n var theData=\u0027action=dragdrop\u0026\u0027+dropID+\u0027=dropped\u0026\u0027+dragID+\u0027=dragged\u0027;\r\n commonAjaxPost(theData,\u0027Events\u0027);\r\n }\r\n});\r\n});\r\n\u003c/script\u003e\r\n\u003cdiv id=\u0027DivEvActDrag_249_A0\u0027 class=\u0027DivEvActDragClass\u0027\u003e\r\n\u003ctable cellspacing=\u00270\u0027 width=\u0027100%\u0027 \u003e\r\n\u003cdiv id=\u0027DivAction_249_A0\u0027 \u003e\r\n\r\n\u003ctr \u003e\u003ctd class=\u0027event_Actions_0\u0027 align=\u0027left\u0027 colspan=\u002720\u0027 \u003e\r\n\u003ctr class=\u0027event_Actions_0\u0027 \u003e\r\n\u003ctd class=\u0027event_CondThen_Width\u0027 colspan=\u00271\u0027 style=\u0027 white-space: nowrap;\u0027 \u003e\r\n\r\n\u003c!-- jqDropList ActTHENNEVER_249_A0_ID598385--\u003e\r\n\u003cscript\u003e\r\n$(function() {\r\n $(\u0027#ActTHENNEVER_249_A0_ID598385\u0027).change( function() {\r\n var value = $(this).val();\r\n value = encodeURIComponent(value);\r\n var theID;\r\n var theform =$(\u0027#\u0027+$(this)[0].form.id);\r\n var theData =
[ATTACH]70129[/ATTACH]
The size of the HS event page - before this happens - is approximately 3 and 1/4 page - where I am drilled down in my event view to where the Pushover events now reside. That's probably not a lot compared to others.
I cannot compare this to anther events when I change them, as none have an "Update" button like this one does.
In addition - I'm using the latest version of Chrome, and I'm thru a VPN at the time of occurrence.
When setting up the first set of events (Locally, using Chrome on same Network) I did not have this occur. Maybe about 15 events worth with no issue.
Anyway - I'm not complaining,mind you. Just letting you know. It's a great plugin! I'm available for testing if this is something bigger than just me.
Thanks!
Comment
-
Originally posted by Monk View PostSo far this is very nice - Near instant notification as opposed to my current way which is sending an email to my phone carriers text service number.
While modifying events today I notice that maybe every third time I hit the "Update" button for an event, I get a page full of raw code. I believe it is the entire event pages raw code. Here is a snippet.
HTML Code:"EventActions_249","\u003cform id=\u0027EventActForm_249_A0\u0027 name=\u0027EAF_249\u0027 method=\u0027post\u0027\u003e\r\n\r\n\u003cscript\u003e\r\n$(function() {\r\n $( \u0027#DivEvActDrag_249_A0\u0027 ).draggable({revert:\u0027invalid\u0027,stack:\u0027div\u0027});\r\n $( \u0027#DivEvActDrag_249_A0\u0027 ).droppable({hoverClass:\u0027drag-hover\u0027,accept:\u0027.DivEvActDragClass\u0027,\r\n drop: function( event, ui ) {\r\n var dropID=$(this).attr(\u0027id\u0027);\r\n var dragID=ui.draggable[0].id;\r\n var theData=\u0027action=dragdrop\u0026\u0027+dropID+\u0027=dropped\u0026\u0027+dragID+\u0027=dragged\u0027;\r\n commonAjaxPost(theData,\u0027Events\u0027);\r\n }\r\n});\r\n});\r\n\u003c/script\u003e\r\n\u003cdiv id=\u0027DivEvActDrag_249_A0\u0027 class=\u0027DivEvActDragClass\u0027\u003e\r\n\u003ctable cellspacing=\u00270\u0027 width=\u0027100%\u0027 \u003e\r\n\u003cdiv id=\u0027DivAction_249_A0\u0027 \u003e\r\n\r\n\u003ctr \u003e\u003ctd class=\u0027event_Actions_0\u0027 align=\u0027left\u0027 colspan=\u002720\u0027 \u003e\r\n\u003ctr class=\u0027event_Actions_0\u0027 \u003e\r\n\u003ctd class=\u0027event_CondThen_Width\u0027 colspan=\u00271\u0027 style=\u0027 white-space: nowrap;\u0027 \u003e\r\n\r\n\u003c!-- jqDropList ActTHENNEVER_249_A0_ID598385--\u003e\r\n\u003cscript\u003e\r\n$(function() {\r\n $(\u0027#ActTHENNEVER_249_A0_ID598385\u0027).change( function() {\r\n var value = $(this).val();\r\n value = encodeURIComponent(value);\r\n var theID;\r\n var theform =$(\u0027#\u0027+$(this)[0].form.id);\r\n var theData =
[ATTACH]70129[/ATTACH]
The size of the HS event page - before this happens - is approximately 3 and 1/4 page - where I am drilled down in my event view to where the Pushover events now reside. That's probably not a lot compared to others.
I cannot compare this to anther events when I change them, as none have an "Update" button like this one does.
In addition - I'm using the latest version of Chrome, and I'm thru a VPN at the time of occurrence.
When setting up the first set of events (Locally, using Chrome on same Network) I did not have this occur. Maybe about 15 events worth with no issue.
Anyway - I'm not complaining,mind you. Just letting you know. It's a great plugin! I'm available for testing if this is something bigger than just me.
Thanks!
Comment
-
Originally posted by mrhappy View PostGlad it is working and not a problem, I do like to sort issues out when I can. I'll do some testing but just to give some background to this the reason for the update button being there is because of the number of controls on this event being (as far as I am aware) a little more than normal plugins that might only have one/two/three boxes or controls. If I set the controls to automatically post their data back to the plugin when you select them then it will collapse the event automatically and this will become extremely annoying (as you will have to expand it every time it collapses) I guarantee as you will be halfway through creating it before it has saved itself and needs you to open it again. I don't think there is a workaround for that but don't know how other people are doing it who have a similar number of controls on their plugin triggers/actions, I felt the easiest way was to put this button on and can't say I have ever seen it do the same but if I can re-create it I will look at it a little closer.
In any case, this plugin is awesome. Check your PayPal!
Comment
-
mrhappy,
One of my events that sends a Pushover message is generating the following message in the HS3 log:
Code:Pushover 3P -> Message Length Greater Than 512 characters
The thing is that the message is using several $$DSA replacement variables, and these variables are actually quite long since I am using the Device Address replacement, which is putting the message past the 512 character limit. After replacement, the message is well under the character limit.
Would it be feasible for you to change the plugin to perform the character limit check *after* the variable replacement?
Comment
Comment