• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
piScheduler -- A pilight extension for the daily switch plan
#10
After upgrading to pilight 5.0 Have problems with sending control commands like this:
Code:
http://192.168.178.1:5001/send?{%22message%22:%22send%22,%22code%22:{%22location%22:%22Aussen%22,%22device%22:%22Haustuer%22,%22state%22:%22on%22}}

The settings.json changed to:
Code:
{
    "log-level": 5,
    "pid-file": "/var/run/pilight.pid",
    "config-file": "/home/pi/pilight_config/config.json",
    "hardware-file": "/etc/pilight/hardware.json",
    "log-file": "/var/log/pilight.log",
    "send-repeats": 10,
    "receive-repeats": 1,
    "webserver-enable": 1,
    "webserver-root": "/usr/local/share/pilight/",
    "webserver-port": 5001,
    "webserver-authentication": [ "admin", "admin" ],
    "webserver-cache": 1,
    "webserver-user": "root",
    "whitelist": "",
    "update-check": 1,
    "firmware-update": 0
}
Working with "pilight webgui" isn't a problem, so the config.json/hardware.json are OK, all GUI elements do their job, the switches work as expected.

Sending a cmd as shown above opens an 'Authentication Required" dialog asking for uname/pw. Also entering the right values, it repeats asking. /var/log/pilight.log doesn't give any info. Firefoy console also no output.

How is the trick? to work as it was with version 3.0?

Guenter
 
Reply
  


Messages In This Thread
http://192.168.178.1:5001/send?{..} fails with pilight 5.0 - by gneandr - 07-21-2014, 10:23 PM
piSchedule error - by donbucknall - 01-02-2016, 05:30 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Connect pilight to your hue bridge hannemann 4 3,456 10-26-2020, 02:08 PM
Last Post: Michelebup
  Does piSchedule work with pilight 8.1.1-nightly Peter S 0 2,139 06-29-2018, 07:57 PM
Last Post: Peter S
  pilight-console - an LCD / keypad interface for pilight frenchie71 3 1,969 11-21-2017, 11:15 PM
Last Post: curlymo
Wink PHP class using pilight socket connection Dan 0 1,864 11-03-2016, 11:41 AM
Last Post: Dan
  Controlling a RGB Led Strip over pilight mightyuhu 2 2,941 08-06-2016, 09:10 PM
Last Post: JohannK
  HomeBridge with pilight on raspbian Jurre 10 14,208 04-06-2016, 07:45 AM
Last Post: tomtom
  pilight voice commands kniazio 11 7,452 01-29-2016, 07:51 PM
Last Post: sral
  Python Ping pilight detect mobilephone Cryptomaster 0 2,551 01-10-2016, 04:17 PM
Last Post: Cryptomaster
  pilight config editor ktams 16 9,999 01-06-2016, 02:42 PM
Last Post: ktams
  command processing between pilight and openhab royhofman1989 3 3,343 07-13-2015, 11:26 AM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)