Closed henkkl closed 7 years ago
Hi!
I don't use user/password for this script. I'm using Domoticz setting to include a list of IPs that doesn't need authentication.
But I'll include them in the next release! 👍
Updated: New develop branch version include authentication ;) I will be testing it a few days and if everything is OK, I'll merge the code to the master branch ;).
Thnx abel, Keep up the good work. :-) Kind Regards, Henk Kleinee
Op 4 apr. 2017 22:44 schreef "Abel Paz" notifications@github.com:
Updated: New develop version include authentication ;) I will be testing it a few days and if everything is OK, I'll merge the code to the master branch ;).
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/apazga/smappee-domoticz-bash/issues/2#issuecomment-291626370, or mute the thread https://github.com/notifications/unsubscribe-auth/AZLyvGwVQltMlPcPvjE-aZqIte-cFLXnks5rsqvFgaJpZM4Mcc8n .
Hi apazga, Great script! and it's working fine after I made some changes :-) What's missing in the script are the user and password for domoticz So I've made two string variables: USER and PASS Then the code to send it to Domoticz will be: curl -u $USER:$PASS "${DOMOTICZ_URL}/json.htm?type=command¶m=udevice&idx=${DOMOTICZ_VOLTS_IDX}&nvalue=0&svalue=${VOLTS}"
And off course also for the other curl statements. With kind regards Henkkl