New Plugin: GhostXML

Posted on
Mon Aug 27, 2018 5:56 pm
DaveL17 offline
User avatar
Posts: 4194
Joined: Aug 20, 2013

Re: New Plugin: GhostXML

That's great news. Thanks for letting me know.

Cheers!

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Mon Sep 24, 2018 1:03 pm
Albatros offline
Posts: 131
Joined: Feb 07, 2015

Re: New Plugin: GhostXML

I have the latest plugin and now getting the following error on one of my GhostXML devices:

GhostXML Error plugin does not have a <CallbackMethod> specified for action id refreshDataForDev

It is getting data from a Solaredge Solarpanel Converter via an API with a API key in the url. It is not always giving this error. Any suggestions

Posted on
Mon Sep 24, 2018 1:55 pm
DaveL17 offline
User avatar
Posts: 4194
Joined: Aug 20, 2013

Re: New Plugin: GhostXML

Hi - yeah, that error is due to some changes under the hood. Please open any GhostXML actions that you have already established and you may see the Type field has become unpopulated. Select action type Refresh Data for Device (GhostXML Controls) and you may also have to select the target device again. Then click OK. This *should* clear the error.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Thu Sep 27, 2018 1:33 pm
Albatros offline
Posts: 131
Joined: Feb 07, 2015

Re: New Plugin: GhostXML

Hi Dave - Iam trying to connect to an Energy Data Website via an API but getting an error. It looks like it makes a connection but than a HTTP/1.1 500 Internal Server Error. Any ideas..

Link to api documentation
https://enelogic.docs.apiary.io/#introd ... formatting

Example py
https://gist.github.com/kleptog/572b529 ... edaa18d670


GhostXML Debug HTTPS CURL result: * Trying XX.171.XXX.140...
* TCP_NODELAY set
* Connected to enelogic.com (XX.171.XXX.140) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
* Server certificate: enelogic.com
* Server certificate: COMODO ECC Extended Validation Secure Server CA
* Server certificate: COMODO ECC Certification Authority
* Server auth using Basic with user 'appid.tacoroest@hotmail.com'
> GET /api/measuringpoints/ HTTP/1.1
> Host: enelogic.com
> Authorization: Basic MzUxOV8zNHNqMnBpd284bzQ0czBvNDgwazRjZ2M0MDA4c2djZ2trODQ4a29nc2drY2t3dzRray50YWNvcm9lc3RAaG90bWFpbC5jb206NGlzdmY2aXh5cnM0NDh3NDRjc2c0a3N3MGs4bzBrdzR3Y29zY2s0MGNzc2swd2NvMDQudGxjMTY0bWFuOWM0NDhjMDA4YzAwd3MwYzRjd3dvNA==
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 500 Internal Server Error
< Server: nginx
< Content-Type: application/json
< Transfer-Encoding: chunked
< Connection: keep-alive
< Cache-Control: private
< Date: Thu, 27 Sep 2018 18:55:31 GMT
<
{ [5 bytes data]
* Connection #0 to host enelogic.com left intact

Posted on
Fri Sep 28, 2018 4:40 am
DaveL17 offline
User avatar
Posts: 4194
Joined: Aug 20, 2013

Re: New Plugin: GhostXML

Albatros wrote:
Hi Dave - Iam trying to connect to an Energy Data Website via an API but getting an error. It looks like it makes a connection but than a HTTP/1.1 500 Internal Server Error. Any ideas..

Link to api documentation
https://enelogic.docs.apiary.io/#introd ... formatting

Example py
https://gist.github.com/kleptog/572b529 ... edaa18d670

Hi Albatros -

I'm sorry that you're running into trouble.

I took a quick look at the developer docs and the enrollment process is fairly involved. I'm currently on the road for business so it will be a little while before I can look into this. At first blush, I wonder if the internal server error is them and not us. Please continue to give it a try (periodically) until I can get back to you and report back if you find different results. There may be a chance that it will still work as you've set it up.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Mon Oct 01, 2018 6:40 pm
DaveL17 offline
User avatar
Posts: 4194
Joined: Aug 20, 2013

Re: New Plugin: GhostXML

I've looked over the developer docs and I'm pretty sure that the plugin won't presently work with this particular API because it looks to require either WSSE or Oauth2 authentication. The plugin currently supports None, Basic, Digest and Token auth. While it's certainly possible to add additional authentication schemes to the GhostXML plugin, what might work for you now is to use the example script you pointed to in order to download API data to a file and then use the GhostXML plugin to migrate the data from the file into Indigo.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Fri Oct 05, 2018 1:32 pm
Albatros offline
Posts: 131
Joined: Feb 07, 2015

Re: New Plugin: GhostXML

Thanks very much for looking into it!!

Who is online

Users browsing this forum: No registered users and 1 guest