But I have a problem, I think that none of my cron are running, (exact configuration of your picture) and I added a cron for telegram alert for charging Receive charging alerts on your phone ( and smart watch ) but no telegram message (but i correctly tested my token and ID with a text command from a web brother) !
Is there a special action to activate cron system on autopi ? Because none of the event you created appears in the event log
@Manfred, I see that your cron_autostart is : “on the first day of every months at 01h00” but does it mean that I have to wait march 1st 01h00 for my job to start ? It could explain why it is not actually working ?
My rpi temperature is working but with " * * * * * " which means “every minutes all the time”.
You don´t need the autostart cronjob. The funtion my_autostart.autostart is only needed ONE time for creating the shelve variables. Call it manually is also OK. The monthly thing I checked only, because there is no cron-only-on-startup-option.
Maybe you need a reboot to activate your new cron jobs -> ask the autopi guys…
I found the problem ==> When I opened your .py files with notepad and copy/paste on the custom code, a problem appears because in all your file there is at each line a 4 blank character indent and it creates an error. I suppressed manually on each line on autostart.py and now one script is working (I have a postpone 30 min which appears every minutes)
Could you upload script without this indent ? because I suppressed it on the 3 files but I still have no event in the events log then may be I didn’t correctly modify the indent…
$ my_autostart.test
‘my_autostart’ virtual returned False: unexpected indent (my_autostart.py,line 2)$ my_autostart.test
it is done by the autostart cronjob. The funtion my_autostart.autostart is only needed ONE time for creating the shelve variables. Call it manually is also OK.
Just found one problem in code “my_eventgen.py”.
Every line of the code have a extra TAB in the begiun of the line. Just try to correct by may be do some thing wrong. This code dont work for me. Every time give me timeout.
Hello.
Just try and its working. After run individually every sub program, after that the code run ok.
Can anyone help me how can i integrate in a web page for visualization?
Hi Manfred.
Do you have the option that recharge the 12v battery when the kona is off enabled?? I think that the slow_charging event is keeping my autopi awake using your power settings
Yes. I have the power setting as you said in github. But the pi is awake. And in the event log I see de battery/discharging and battery/charging_slow events…