HomeSeer

Dean Parry6 years ago

Trying to forward data to HomeSeer via the HomeSeer api example:

http://192.168.0.6:80/JSON?request=controldevicebyvalue&ref=0001&value={uniqueId}

Is this doable? if so any hints please as i have tried to breaking point and have to put my hands up and say 'i need help'

Many thanks...

Anton Tananaev6 years ago

What's the API? Traccar doesn't forward any data in payload (at least in current version).

Dean Parry6 years ago

even if i could forward the data to a file on my server then scrape that data that would be sufficient for my requirements? the scraping i can do... the exporting of the data i am banging my head off the wall!

is mysql required for forward.url of data?

Anton Tananaev6 years ago

That's my point. You can't at the moment, but you will be able to forward JSON data in the next release:

https://github.com/tananaev/traccar/pull/3755

Dean Parry6 years ago

Now that excites me a lot :) amazing if that happens!!! thank you i will stop my pointless fighting lol

Dean Parry6 years ago

do you release beta version anywhere? i assume that is merged already into main branch?

Anton Tananaev6 years ago

It is merged. There is no beta, but you can make a build from master branch. Of course you are on your own in that case and you need to know what you are doing.

Dean Parry6 years ago

ill wait i have no environment setup for compiling stuff at present :) patience!

Dean Parry6 years ago

i have taken the time to compile it all successfully any hints on the payload url so i can scrape the data to HomeSeer?

Many thanks...

Anton Tananaev6 years ago

No, I never worked with HomeSeer.

Dean Parry6 years ago

Nothing to do with HomeSeer :) i simply would like to know the url for seeing the payload if possible?

Anton Tananaev6 years ago

Forwarding means that you provide URL and Traccar posts data to that URL, so your question doesn't really make sense.

Dean Parry6 years ago

ok thank you i am going to admit defeat as i have no idea how the hell to get a simple json/xml data output readable like i used with gpslive by rewire so i guess i need to swap back to them as its not as feature rich as your software but its on a plate for stupid people like me :)

<entry key='forward.enable'>true</entry>
<entry key='forward.url'>http:/www.mysite.com/traccar.txt</entry>

and with latest compiled branch it does nothing...

thanks anyway

Anton Tananaev6 years ago

If you want to PULL data you can just Traccar API.

Dean Parry6 years ago

i assumed i would just be able to parse a url or a forwarded url for the data i wanted to use elsewhere with the need for any scripts php etc...