Search found 3 matches
- Friday 29 December 2017 10:26
- Forum: Bash / PowerShell / Batch etc.
- Topic: Scripts reading your Plugwise stretch and smile
- Replies: 8
- Views: 7662
Re: Scripts reading your Plugwise stretch and smile
This script is for devices with firmware 2.0 and on. The XML output of the Smile P1 differs a lot between 1.2 en 2.0 firmware versions. That means this script will not work for firmware versions below 2.0 At this stage I am getting data from the Smile but it gives values on places where you won't ...
- Monday 25 December 2017 9:58
- Forum: Bash / PowerShell / Batch etc.
- Topic: Scripts reading your Plugwise stretch and smile
- Replies: 8
- Views: 7662
Re: Scripts reading your Plugwise stretch and smile
I managed to get rid of the first 3 error messages. In line 29, IFS=$'\r\n' result=(`curl -s --user smile:$smilePassword $smileIp"/core/modules" | \ I replaced core to smartmeter which differs due to the firmware version. But I still get this 4 syntax error messages. Any clues?
- Friday 22 December 2017 18:51
- Forum: Bash / PowerShell / Batch etc.
- Topic: Scripts reading your Plugwise stretch and smile
- Replies: 8
- Views: 7662
Re: Scripts reading your Plugwise stretch and smile
I,m trying to get a Smile P1 up and running but all I'm getting is error messages. I copied the script into a file (Smile.sh) and made it executable. This is the error message: pi@raspberrypi:~/domoticz/scripts $ ./Smile.sh -:6.8: Opening and ending tag mismatch: hr line 5 and body </body> ^ -:7.8 ...