Of course, here you go.
Sharing is Caring!
I still recommend running these services on a little Pi3. The cost is minimal and you will save big time in electric cost. Plus the Pi3 is a good little device to have around for all kinds of cool stuff.
I run blue Iris on this machine so it is already always on.
What I am looking forward to is the smart plug that just got delivered. I will now be able to see how much energy my server is actually pulling against the rest of the house, I have a whole house energy monitor so will be interesting to see how much out of the almost $6.50 I spend daily on power the computer is using up.
FYI, my HVAC uses like 60% of that, its almost 100 F around Washington DC right now.
I created this Piston to tame my HVAC uses. Saved half on my HVAC usage and the house still remained cool!
Hi, I updated the smartapp to 1.7 and since then Iām getting an error in the logs as follows;
error java.lang.ClassCastException
debug Host Pinger >> Event Recieved: offline 192.168.###.##
error java.lang.ClassCastException
debug Host Pinger >> Event Recieved: online 192.168.###.##
No clients are updating state but the exe on my RPi is seeing them go online/offline but displays the following for all entries;
[ONLINE] 192.168.###.##
Failed to SendGetRequest: The remote server returned an error: (500) Internal Server Error
.
[OFFLINE] 192.168.###.##
Failed to SendGetRequest: The remote server returned an error: (500) Internal Server Error
I have double checked all the ids and token entries are OK and this config was working fine until recently. Is anyone else getting this issue?
Can you go in to the events received screen and press done, I didnāt do a full install to test and looks like itās not seeing the default I put in as an integer.
Sorry, but the above should fixā¦ Iāll āfixā it again when I get home!
Thanks Jake, No worries. Great app by the way.
If I try to go into events received the whirling timer briefly appears and nothing happens. In the logs it shows again;
error java.lang.ClassCastException
Bugger, sorry delete the below lineā¦ that should workā¦ should really test these things before I roll out changes
length = length ?: 20
Sorry mate, commented out the above line but still no go Iām afraid.
Ok in github you can check the previous version prior to the change, Iād roll back to that one. Iām not going to be back until late to fix it.
Sorry again, but thanks for using it!
No problem. Whenever you get time.
OK, manually rolled back to 1.6 and all is back to normal again. Thanks for all your help so far.
Hopefully fixed properly this time!
Updated via github and all is working fine. Many thanks Jake
Well,
I had it working fine on my MAC, i bought a RSP, and since then it wont work,
I donāt get any errors in live logging, however i get this when running EXE
pi@raspberrypi:~/Desktop $ mono /home/pi/Desktop/STHostPinger.exe
āSmartThings Host Pinger V2.0ā
Loading configā¦
Loaded
DebugLevel is set to 1
Running ā¦
24-Jul-17 07:54 [ONLINE] 192.168.2.86
Failed to SendGetRequest: Error getting response stream (Write: The authentication or decryption has failed.): SendFailure
24-Jul-17 07:54 [OFFLINE] 192.168.2.37
Failed to SendGetRequest: Error getting response stream (Write: The authentication or decryption has failed.): SendFailure
I tried removing the DTH and the smartapp, still no useā¦
I also ensured iām using the correct URLā¦
any help?
Edit: Sorry error has nothing to do with your settings, itās to do with certificate handling in monoā¦
@rontalley Did you come across this issue?
http://www.mono-project.com/archived/usingtrustedrootsrespectfully/
Yes, iām sure my settings are correct, iām going nuts hereā¦
Check my edit
Iāve just found rons postā¦ it mentions exactly this issueā¦ looks like you also need to install ca-certificates-mono and possibly import from mozilla alsoā¦
Thanks @rontalley
Well, it couldnāt find the package, now iāve re-installed complete instead of devel, updated repos again, then tried to install the package, now it is removing all mono-stuff and re-installing themā¦
fingers crossed, will keep you updatedā¦
Thanks a lot.