will check, but there should be no need. But when i wrote it no UK hub yet…will let you know.
i see what you mean, this is not impacting execution. But i will make it generic. Will turn this into the url you need to plu into Domotics Custom URL action.
This is now implemented as a generic call to getServerUrl(). The custom action for domoticz is now save into state.urlCustomActionHttp , you can now copy/paste this into your domoticz straight from this. Go to IDE list smartapps, domoticz server and you will find this state var.
Update from Repo to get last code, start Domoticz Server Smartapp and hit DONE to get it.
I did some maintenance to the smartapp and to the related devices a while ago. If you had the domoticzOnOff and docmiticzBlinds devices in use, please update them with fresh copy from github.
Domitcz-server. Smart-Screens is something i made to automate screen and shutters to close when sunny or close when lots of wind under certain circimstances.
Yay! All working, at least software wise… I am not physically at home so can’t say 100% that the shades work, but I’ll assume they do!
Just one thing… I’m testing to raise lower one shade and it stays as “opening” or “closing”… it doesn’t seem to update when it finishes… or could or be because I’m stopping it before it finishes the action?
The status is updated with the message that is sent from domoticz arrives in st. So the conclusion should be that the message is not sent from domoticz or arriving at st.
The setup in domoticz is a bit more work. They are under notificatios in the swithces tab. You must define a http on and off action for the blinds.
Do not forget to specify in domoticz the below in setup of domoticz
Local Networks (no username/password):
Networks:
127.0.0.;192.168.0.;10.0.0.*
(Separate by a semicolon, For Example: 127.0.0.;192.168.0.)
You should see messages like this in the log
2016-03-12 21:15:47.634 SmartThings Off for 30
2016-03-12 21:15:47.655 User: Admin initiated a switch command
2016-03-12 21:15:48.688 Notification sent (http) => Success
The first is the message from st to domoticz
The third is the message from domoticz to st
About the notification, every how often does it update? I’m raising/lowering the shades and I see something flicker in the notification panel but then the “Opening” or “Closing” notification keeps showing up instead of “raised” or “lowered”…
I’m not home yet but i assume it’ll be working?
Oh and part 2 is about the icons… where do I change them? Lol!
I have a shade like this one:
Not that one, but that system… and I’d like to have that reflect in the app…
you can change the icon in the device, press the settings icon in the top right and edit device, at that screen you can choose the standard icons from a category. I dont think you can put in a picture of your own.
If you want another icon in the app, you need to change the code a bit at the top. it has a line like iconX2Url, if you change it to what inserted you get a picture of the arteytoldos brand logo.:
Thanks for the tips! I’ll take a look at them when I get home…
I now have another thought in mind! Lol!
Do you know of any smartapp that can check the local using the coordinates reported by the hub) forecast and lower/raise the shades or blinds accordingly?
That is the smartscreens app i have made. It will look at your lattitude longitude from the hub and will lower screens when sunny and your screen is in the direction if the sun…