Did you make a ssh key so you don't need to use password for pi user?
Make one with root instead and your script will work.
Skickas från min iPhone via Tapatalk
Search found 17 matches
- Saturday 13 February 2016 12:50
- Forum: PHP and all others
- Topic: Error: Error executing script returned: 65280
- Replies: 10
- Views: 8956
- Tuesday 29 December 2015 22:35
- Forum: PHP and all others
- Topic: Error: Error executing script returned: 65280
- Replies: 10
- Views: 8956
Re: Error: Error executing script returned: 65280
Found it...
Seems that domoticz ssh tru root so just made a new ssh key with root instead.
Seems that domoticz ssh tru root so just made a new ssh key with root instead.
- Tuesday 29 December 2015 21:39
- Forum: PHP and all others
- Topic: Error: Error executing script returned: 65280
- Replies: 10
- Views: 8956
Re: Error: Error executing script returned: 65280
Have the same problem, so did you find any solution to this problem?
- Saturday 26 December 2015 19:12
- Forum: Other questions and discussions
- Topic: Weird gas usage - How to remove
- Replies: 3
- Views: 1019
Re: Weird gas usage - How to remove
Have these too, but in my water graph.
Hope I didnt wasted like 154899526485423115 Liters of water today...- Friday 25 December 2015 23:53
- Forum: PHP and all others
- Topic: php script to show status from uservariable
- Replies: 0
- Views: 1094
php script to show status from uservariable
Hi, After I got this script up and running I wanted to display the info on my wordpress page. This is how I did. status.jpg By using this code below with PHP Code for posts plugin you manage display information from your uservariables. <?php echo "<b>Machine status</b>"; echo "</br>"; $arr = array(6 ...
- Friday 25 December 2015 0:51
- Forum: LUA
- Topic: Pushnotification when dishwasher/washing machine is ready?
- Replies: 105
- Views: 39938
Re: Pushnotification when dishwasher/washing machine is read
Thanks that did the trick!
Will try it tomorrow and test this script on my dryer, washer machine and dishwasher.
Will try it tomorrow and test this script on my dryer, washer machine and dishwasher.
- Friday 25 December 2015 0:05
- Forum: LUA
- Topic: Pushnotification when dishwasher/washing machine is ready?
- Replies: 105
- Views: 39938
Re: Pushnotification when dishwasher/washing machine is read
Very nice script! Will love to use it, or my wife would. But I get this error and I have tried everything that I can imagine. Error: EventSystem: ...e/pi/domoticz/scripts/lua/script_time_washingmachine.lua:17: attempt to compare number with nil I have i dummy switch named virt_wasmachine and user ...
- Monday 21 December 2015 12:22
- Forum: Utility
- Topic: MQTT Node-red water-meter
- Replies: 3
- Views: 3609
Re: MQTT Node-red water-meter
Thank you gizmocuz. Now I changed to total, but my meter in domoticz don't register the value. Have I done this right? [{"id":"f544e7d7.ee31a","type":"function","name":"Water meter 2 Domoticz","func":"var pwJSON = JSON.parse(msg.payload);\nmsg.url = \"http://127.0.0.1/json.htm?type=command¶m ...
- Sunday 20 December 2015 22:36
- Forum: Utility
- Topic: MQTT Node-red water-meter
- Replies: 3
- Views: 3609
MQTT Node-red water-meter
Hi. I have a water meter with a webcam connected to a raspberry. The software in raspberry sends out a mqtt payload that I want node-red to translate and update a meter in domoticz. But I cannot figure out how to get their values in node-red so its suits to a json.htm command. This is the output ...
- Saturday 01 February 2014 19:41
- Forum: Show your projects
- Topic: Hardware pron pics
- Replies: 98
- Views: 70690
Re: Hardware pron pics
Share with you my biggest projects a raspberryPi Photoframe. Scrapped an old TFT screen and built a new wooden frame and mounted a raspberryPi behind, and put it on the wall. A script runs every 5 minutes and check for new images to an email address it has and puts them up. And every minute, the ...
- Thursday 15 August 2013 16:18
- Forum: LUA
- Topic: Pushnotification when dishwasher/washing machine is ready?
- Replies: 105
- Views: 39938
Re: Create a Event or Lua to get push notification when dish
I have no idea. I just google it and found the function to manage it.
- Thursday 15 August 2013 15:04
- Forum: LUA
- Topic: Pushnotification when dishwasher/washing machine is ready?
- Replies: 105
- Views: 39938
Re: Create a Event or Lua to get push notification when dish
I figured it out! It turns out that lua don't like decimals. So here is my solution that works very well :) If the energy consumption is greater than 5watt then..... Thansk bistoury for some input! script_device_Energy.lua commandArray = {} function removeDecimal(number) local num = number local ...
- Wednesday 14 August 2013 20:40
- Forum: LUA
- Topic: Pushnotification when dishwasher/washing machine is ready?
- Replies: 105
- Views: 39938
Re: Create a Event or Lua to get push notification when..
I have emprement back and forth with the lua but I get a notification sporadic, I can't see a pattern. This i my code: commandArray = {} if (otherdevices_svalues['Diskmaskin'] > "4.0" and otherdevices['Dummy_diskmaskin'] == 'On') then commandArray['Dummy_diskmaskin']='Off' commandArray ...
- Wednesday 14 August 2013 16:18
- Forum: LUA
- Topic: Pushnotification when dishwasher/washing machine is ready?
- Replies: 105
- Views: 39938
Re: Create a Event or Lua to get push notification when..
Got it to register the consumption, hade to reinclude the device. How can I rewrite the script below so that I only get one notification instead of thousands :) commandArray = {} if (otherdevices_svalues['Diskmaskin'] < '20.0') then -- commandArray['SendNotification']='Dishwasher#Is done!' end ...
- Wednesday 14 August 2013 15:23
- Forum: LUA
- Topic: Pushnotification when dishwasher/washing machine is ready?
- Replies: 105
- Views: 39938
Re: Create a Event or Lua to get push notification when..
Hi, I tried to make a lua script too see the consumption of my everspring stiwch/meter.. But it fails on me. I have two Everspring meters one at the dishwasher and one at the washing machine. When I enable the line for i, v in pairs(otherdevices_svalues) do print(i, v) end in the demo script, I can ...
- Tuesday 13 August 2013 19:40
- Forum: LUA
- Topic: Pushnotification when dishwasher/washing machine is ready?
- Replies: 105
- Views: 39938
Re: Create a Event or Lua to get push notification when..
Thanks! It's look like that the value doesn't register some how.. I made a simple Event that when the consumption whent down it turn on my livingroom lights, but even that dosen't work. IF device < value (watt) do livingroom = on What can be wrong here? If i look in the Show Current states I see ...
- Tuesday 13 August 2013 16:15
- Forum: LUA
- Topic: Pushnotification when dishwasher/washing machine is ready?
- Replies: 105
- Views: 39938
Pushnotification when dishwasher/washing machine is ready?
Hi.. I trying to figuer out how I'm gona get notification when the dishwasher is finish. I thought that you could create a Event like the picture. But I don't receive any notification, maybe the Event function don't work like I thought. I have tried the Notification at the #Utility but it doesn't ...