Hi
I have Automower 430x with the connect option and i found this
https://github.com/chrisz/pyhusmow
So i tested it using the terminal and i got it to work, now i would like to integrate it to Indigo but i have some questions
I have no experience with Python so bare with me.
As i understand we have a python file with some information husmow.py and then we have some python ”commands” and the commands links to the husmow.py file
for example
python husmow.py --login yourmaillogin --password yourpassword control START
First of all is it possible to use these commands as embedded python scripts or should i use another approach?
Does it matters were i put the husmow.py file and how do i convert the command so the file is found?
I tried everything i can think of, but i can't get it to work, i always get embedded script invalid syntax
And if i get STOP, PARK, START to work i was thinking of getting the status of different data into variables, there is a command STATUS were when i run it in terminal i get an answer were all the data comes up.
{ u'batteryPercent': u'100',
u'cachedSettingsUUID': u'83225f5b-2c0d-4626-b156-73add99d65d3',
u'configChangeCounter': u'422',
u'connected': u'true',
u'gpsStatus': u'USING_GPS_MAP',
u'gsmRssi': u'0',
u'hdop': u'0.0',
u'hostMessage': u'0',
u'lastErrorCode': u'0',
u'lastErrorCodeTimestamp': u'0',
u'latitude': u'56.573405',
u'longitude': u'11.047763333333334',
u'mowerStatus': u'PARKED_TIMER',
u'nextStartSource': u'WEEK_TIMER',
u'nextStartTimestamp': u'1470081600',
u'operatingMode': u'AUTO',
u'secondsOld': u'-1468507263308',
u'storedTimestamp': u'1469977240556'}
Is there a way to turn this is to variables?
Thanx for all the help i can get
Martin