Parser / System event
Moderators: Daniel, tom_rosenback, Telldus
Parser / System event
I've been installing two sensors and everything is working fine except adding a "System Event" in Configuration in HomeAutomation.
I suppose this config should appear in the crontab?
I'm using a Raspberry Pi with Rasbian and PHP5.
I installed Parser 0.7.6 but no luck anyway.
If I do:
/usr/bin/php /var/www/ha/parser/parser.php
It logs the temperature from all sensors though
I've added this manually with "sudo crontab -e -u www-data" and that works but not if I add it in the configuration->System events in HomeAutomation...
I suppose this config should appear in the crontab?
I'm using a Raspberry Pi with Rasbian and PHP5.
I installed Parser 0.7.6 but no luck anyway.
If I do:
/usr/bin/php /var/www/ha/parser/parser.php
It logs the temperature from all sensors though
I've added this manually with "sudo crontab -e -u www-data" and that works but not if I add it in the configuration->System events in HomeAutomation...
-
- Posts: 779
- Joined: Fri Mar 17, 2023 9:45 am
- Contact:
Re: Parser / System event
Does normal schedules work?Urme wrote:I've been installing two sensors and everything is working fine except adding a "System Event" in Configuration in HomeAutomation.
I suppose this config should appear in the crontab?
I'm using a Raspberry Pi with Rasbian and PHP5.
I installed Parser 0.7.6 but no luck anyway.
If I do:
/usr/bin/php /var/www/ha/parser/parser.php
It logs the temperature from all sensors though
I've added this manually with "sudo crontab -e -u www-data" and that works but not if I add it in the configuration->System events in HomeAutomation...
//Tom
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
Re: Parser / System event
Haven't had time to try it yet, are those also suppose to be save in crontab?
EDIT: No it doesn't seem to work either...
EDIT: No it doesn't seem to work either...
Re: Parser / System event
Any idea why schedules doesn't work either? Tried to google a solution but no luck yet..
-
- Posts: 779
- Joined: Fri Mar 17, 2023 9:45 am
- Contact:
Re: Parser / System event
With not working you mean that you don't get any jobs in crontab when creating schedules in HA? The only one that should be there is the updatesschedules job, rest is in AT. Systemschedules on the other hand is ONLY in crontab. If the above is the case for you then I would suspect some permission related issue. Either in cron or php.Urme wrote:Any idea why schedules doesn't work either? Tried to google a solution but no luck yet..
//Tom
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
Re: Parser / System event
I have the updatesschedules job in crontab so that works.
I'm kind of new to both Linux/RPI and Tellstick, what do you mean with AT? How can I check that?
I'm kind of new to both Linux/RPI and Tellstick, what do you mean with AT? How can I check that?
Re: Parser / System event
Alright I got it!
at isn't installed on a Raspberry Pi as default so I had to:
sudo apt-get update
sudo apt-get install at
After that I had to remove the user www-data in /etc/at.deny list.
Now it ran the schedule perfect I will try to add System event for my sensors as well now
at isn't installed on a Raspberry Pi as default so I had to:
sudo apt-get update
sudo apt-get install at
After that I had to remove the user www-data in /etc/at.deny list.
Now it ran the schedule perfect I will try to add System event for my sensors as well now
Re: Parser / System event
System events still doesn't seem to work though But I got schedules to work..
-
- Posts: 779
- Joined: Fri Mar 17, 2023 9:45 am
- Contact:
Re: Parser / System event
So you get a updateschedules job in cron but the systemschedules doesn't appear?Urme wrote:System events still doesn't seem to work though But I got schedules to work..
//Tom
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
Re: Parser / System event
Yepp!
I've manually created a cronjob for now though
I've manually created a cronjob for now though