Day after day I understand a little more how it work, but I am still a printer, not an programer, lol
i understand we can make custom code and execut from AutoPi.
Custom code work with telegram (@plord make this very useful system. thanks to him)
This I want to do is send SoC to my database. if I can write it correctly, then I can understand and can experience other thing by myself…
This is the code, off course it miss a lot’s of thing
anyone can help me ?
@plord Thank’s you so much
I just have some problem to solve about timestamp is required in my data base, but I think have a solution for that directly in the data base. so I will use the code you send me and test it soon a possible.
I already did test from php code and all it work fine. My iPhone webapp update the data when it pushed, so, only problem was python code from autopi.
So thanks you for python code
It looks like it was already installed, did you run the command twice?
Now try calling your module again, and then seeing the output - i would expect the error you saw last to not show up now, but we will see
@Malte
My minionutil_last_logs show me he try to connect to my database, but still in the wrong port. he had automatiqueley 3306 port at my ip. but still Synology in dbmaria 10 is 3307…
I can’t. I don’t know how to do that… I only study by myself lol …
I should search on google again …
I think I have 3 solutions:
1-is change the fault port on autopi of mysqlconnect. (I don’t know how to do )
2-change the fault port on Synology Maria db10 (I think we can’t )
3-redirect the 3306 to 3307 on my routeur (I will try but )
@Malte
i redirect the port 3306 to 3307 to my routeur
i delete the port 3307 on the custom code @plord thank’s you so much, you custom code will working I hope !!! I test later
I just make test like that to force data 15 to send to mysql because I test it in my home, autopi is still now at home for test. but like that he work without a car lol