HCB, emails/HTTP-post and variable values

Forum about Xanura, Eaton Holec and Marmitek and other brand X10 and A10 devices.

HCB, emails/HTTP-post and variable values

Postby pd1acf » Sun Dec 07, 2014 10:21 am

Hi All,

Is it possible to send the variable values within emails or HTTP POST ?

Background: i have a created a new variable for myself.
It is currently used for counting S0 pulses from a KWh meter into the digital inputs of the HCB.
So each time a S0 pulse arrives (which is 1 watt), i add a value of 1 into this variable.
At midnight i reset the value to zero, and send an email to myself as test.
However, i would like to know the end value of each day. Can this be included in emails ?
With the API function, can i also send a HTTP POST but with the value of the variable at that time ?

Thanks for any help !

ron
pd1acf
Starting Member
Starting Member
 
Posts: 40
Joined: March 2008
Location: Netherlands

Re: HCB, emails/HTTP-post and variable values

Postby Henk » Sun Dec 07, 2014 11:12 pm

Only fixed Email messages can be send ....

May be with HTTP Post you can transmit the variable value ......give it a try

Henk
Henk
Member
Member
 
Posts: 450
Joined: May 2006
Location: Netherlands

Re: HCB, emails/HTTP-post and variable values

Postby pd1acf » Mon Dec 08, 2014 12:16 pm

Hi Henk,

Thanks !
I did found the optional fields, but not sure how to interprete these, and make them work...
See below screenshot...



Thanks !

ron
Attachments
hcb.png
hcb.png (63.73 KiB) Viewed 4880 times
Last edited by pd1acf on Mon Dec 22, 2014 11:27 am, edited 1 time in total.
pd1acf
Starting Member
Starting Member
 
Posts: 40
Joined: March 2008
Location: Netherlands

Re: HCB, emails/HTTP-post and variable values

Postby Henk » Tue Dec 09, 2014 10:28 am

this part of the HCB is also unknown to me and moreover it is undocumented, so the only thing there is is to try.

Keep in mind that the HCB provides little data manipulation capabilities and if you fix this there are surely others will hinder register
HCB is not designed for it and 15 years ago, energy management not so hot.

Consider a microprocessor (eg. Arduino or raspberry) and possibilities of storage, processing, networking are then possible.

Regards, Henk
Last edited by Bwired on Wed Dec 10, 2014 4:03 pm, edited 1 time in total.
Reason: translated by Google
Henk
Member
Member
 
Posts: 450
Joined: May 2006
Location: Netherlands

Re: HCB, emails/HTTP-post and variable values

Postby pd1acf » Mon Dec 22, 2014 11:31 am

Hi Henk,

Just a quick question.
I do have a Raspberry PI, and am looking into how to get the working as a replacement of the HCB as you suggest. However, i don't want to remove/replace all the modules in the house, and also don't want to buy new interfaces.... What do you think, can i use the HCB as a interface between the Raspberry and the X10/A10 modules ?
That would be interesting. I guess it could maybe work in API level ?

Grtz,

ron
pd1acf
Starting Member
Starting Member
 
Posts: 40
Joined: March 2008
Location: Netherlands

Re: HCB, emails/HTTP-post and variable values

Postby Bwired » Mon Dec 22, 2014 1:39 pm

if you use the Rasp, better to kickout the HCB and do it direct. you can put for example Domotiga on the rasp which can control X10
User avatar
Bwired
Administrator
Administrator
 
Posts: 5304
Joined: March 2006
Location: Netherlands


Return to X10, A10 Xanura Marmitek Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron