Indeed, you have the 6 last arguments that are missing, you should have something similar to this :
eg.plugins.MQTTthreads.publishMQTT(u'evenghtost', u'192.168.x.xx', 1883, u'eg/session', u'Session Locked', 0, True, '223671544216', False, u'username', u'password', False, u'' )
what version are ...
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Search found 26 matches
- Thu Jun 29, 2017 1:41 pm
- Forum: Plugin Support
- Topic: MQTT Client
- Replies: 246
- Views: 86608
- Thu Jun 29, 2017 1:03 pm
- Forum: Plugin Support
- Topic: MQTT Client
- Replies: 246
- Views: 86608
Re: MQTT Client
For the thrills I just updated my EG to 5 without making a backup :roll:
My MQTT stopped working so I found the new MQTT plugin (PAHO) and installed it.
It now sees my broker etc.
However, how do you publish messages from EG now?
In my script I have this:
eg.plugins.MQTTthreads.publishMQTT(u'hum ...
My MQTT stopped working so I found the new MQTT plugin (PAHO) and installed it.
It now sees my broker etc.
However, how do you publish messages from EG now?
In my script I have this:
eg.plugins.MQTTthreads.publishMQTT(u'hum ...
- Mon May 16, 2016 6:10 am
- Forum: General Support
- Topic: eg.result and persistent values in webserver
- Replies: 4
- Views: 3713
Re: eg.result and persistent values in webserver
I use webserver as the variable is stored and can be recalled even after a reboot 
- Mon Sep 21, 2015 7:54 pm
- Forum: Plugin Support
- Topic: ClimateDataCalculation
- Replies: 540
- Views: 109579
Re: ClimateDataCalculation
I would assume this code should work. Please try and replace
Best regards, Walter
if eg.event.suffix.find('.ZWave/')!= -1: #For Z-Wave
A = re.split(r'["]\s*', eg.event.payload)
B = re.split(r'[.]\s*', eg.event.suffix)[1].split('/')[1]
if B == deviceCode and A[3] == 'Sensor.Temperature ...
Best regards, Walter
if eg.event.suffix.find('.ZWave/')!= -1: #For Z-Wave
A = re.split(r'["]\s*', eg.event.payload)
B = re.split(r'[.]\s*', eg.event.suffix)[1].split('/')[1]
if B == deviceCode and A[3] == 'Sensor.Temperature ...
- Sat Sep 19, 2015 9:26 am
- Forum: Plugin Support
- Topic: ClimateDataCalculation
- Replies: 540
- Views: 109579
Re: ClimateDataCalculation
If you would like to try, you could modify the code in the CreateComboHtml.py file. In the current implementation I insert a 'null' when an expected data point is missing. This will then be presented as a gap (or broken line) in the graph, this is how HighCharts is handling this and I think it is ...
- Wed Sep 02, 2015 2:57 pm
- Forum: Plugin Support
- Topic: ClimateDataCalculation
- Replies: 540
- Views: 109579
Re: ClimateDataCalculation
Why I ask is that sometimes my html pages does not plot everything always. But the plots are there if you hoover over them.
I have not changed anything in HTML.
It's reproducible when making logging intervals 30 minutes or say 60 minutes.
Maybe you could show this with a picture?
Please see ...
- Mon Aug 31, 2015 2:50 pm
- Forum: Plugin Support
- Topic: ClimateDataCalculation
- Replies: 540
- Views: 109579
Re: ClimateDataCalculation
Hello!
I was struck by a virus called "vacation" and was not able to test everything until now :)
It's been running fine on my computer for these past 3 weeks!
There are some questions I have:
In combined reports:
What is "use 10 min data point spread"?
Also, what is "number of additional hours ...
I was struck by a virus called "vacation" and was not able to test everything until now :)
It's been running fine on my computer for these past 3 weeks!
There are some questions I have:
In combined reports:
What is "use 10 min data point spread"?
Also, what is "number of additional hours ...
- Wed Aug 05, 2015 3:52 pm
- Forum: Plugin Support
- Topic: ClimateDataCalculation
- Replies: 540
- Views: 109579
Re: ClimateDataCalculation
Now it prints the Luminance and Temperature.
But it also prints the other variables like Sensor.Alarm.
17:47:56 Main.SilverHG/HomeAutomation.ZWave/2/event '0 {"Name":"Sensor.Luminance","Value":"2790","Description":"","FieldType":"","UpdateTime":"2015-08-05T15:47:56.4506578Z","NeedsUpdate":false}'
17 ...
But it also prints the other variables like Sensor.Alarm.
17:47:56 Main.SilverHG/HomeAutomation.ZWave/2/event '0 {"Name":"Sensor.Luminance","Value":"2790","Description":"","FieldType":"","UpdateTime":"2015-08-05T15:47:56.4506578Z","NeedsUpdate":false}'
17 ...
- Wed Aug 05, 2015 9:03 am
- Forum: Plugin Support
- Topic: ClimateDataCalculation
- Replies: 540
- Views: 109579
Re: ClimateDataCalculation
Not a problem!
And it is very good for scalability.
I am in process of setting up arduino sensors as well.
They will also communicate in same way I think.
Edit:
But if unique ID is /2/. How will it know to look for sensor.temperature? Or luminance?
Same "2" can have several different payloads. Lim ...
And it is very good for scalability.
I am in process of setting up arduino sensors as well.
They will also communicate in same way I think.
Edit:
But if unique ID is /2/. How will it know to look for sensor.temperature? Or luminance?
Same "2" can have several different payloads. Lim ...
- Wed Aug 05, 2015 7:37 am
- Forum: Plugin Support
- Topic: ClimateDataCalculation
- Replies: 540
- Views: 109579
Re: ClimateDataCalculation
The error was my mistake, sorry for that :oops:
I think your suggestion is fine, that should work as well, provided that the names can be unique even if you would have several sensors of the same kind.
Some questions to clarify:
- the actual 'Name', like 'Sensor.Luminance', 'Sensor.Temperature ...
I think your suggestion is fine, that should work as well, provided that the names can be unique even if you would have several sensors of the same kind.
Some questions to clarify:
- the actual 'Name', like 'Sensor.Luminance', 'Sensor.Temperature ...
- Tue Aug 04, 2015 7:19 pm
- Forum: Plugin Support
- Topic: ClimateDataCalculation
- Replies: 540
- Views: 109579
Re: ClimateDataCalculation
Sorry for late reply.
Just tried it and it gives errors:
********
21:03:48 Main.SilverHG/HomeAutomation.ZWave/2/event '0 {"Name":"Sensor.Luminance","Value":"638","Description":"","FieldType":"","UpdateTime":"2015-08-04T19:03:48.6689631Z","NeedsUpdate":false}'
21:03:48 Fibaro1Sensor
21:03:48 Python ...
Just tried it and it gives errors:
********
21:03:48 Main.SilverHG/HomeAutomation.ZWave/2/event '0 {"Name":"Sensor.Luminance","Value":"638","Description":"","FieldType":"","UpdateTime":"2015-08-04T19:03:48.6689631Z","NeedsUpdate":false}'
21:03:48 Fibaro1Sensor
21:03:48 Python ...
- Sat Aug 01, 2015 9:11 am
- Forum: Plugin Support
- Topic: ClimateDataCalculation
- Replies: 540
- Views: 109579
Re: ClimateDataCalculation
Would it be too much to ask if you could add logging capabilities for z-wave devices?
20:06:35 Main.SilverHG/HomeAutomation.ZWave/2/event '0 {"Name":"Sensor.Temperature","Value":"25.1","Description":"","FieldType":"","UpdateTime":"2015-07-30T18:06:35.6393518Z","NeedsUpdate":false}'
19:58:12 Main ...
20:06:35 Main.SilverHG/HomeAutomation.ZWave/2/event '0 {"Name":"Sensor.Temperature","Value":"25.1","Description":"","FieldType":"","UpdateTime":"2015-07-30T18:06:35.6393518Z","NeedsUpdate":false}'
19:58:12 Main ...
- Thu Jul 30, 2015 6:12 pm
- Forum: Plugin Support
- Topic: ClimateDataCalculation
- Replies: 540
- Views: 109579
Re: ClimateDataCalculation
Would it be too much to ask if you could add logging capabilities for z-wave devices?
20:06:35 Main.SilverHG/HomeAutomation.ZWave/2/event '0 {"Name":"Sensor.Temperature","Value":"25.1","Description":"","FieldType":"","UpdateTime":"2015-07-30T18:06:35.6393518Z","NeedsUpdate":false}'
19:58:12 Main ...
20:06:35 Main.SilverHG/HomeAutomation.ZWave/2/event '0 {"Name":"Sensor.Temperature","Value":"25.1","Description":"","FieldType":"","UpdateTime":"2015-07-30T18:06:35.6393518Z","NeedsUpdate":false}'
19:58:12 Main ...
- Mon Jul 27, 2015 8:37 pm
- Forum: Plugin Support
- Topic: ClimateDataCalculation
- Replies: 540
- Views: 109579
Re: ClimateDataCalculation
You are almost there.
Instead of 1A2D.251 as device ID, use only 251 and it should work. To get a clean db, you could first delete the temData.db file to start from scratch
Ahhh, well yes, this did it!
I'm a happy camper now :)
Thank you for taking the time to help me troubleshoot this.
Now I'm ...
Instead of 1A2D.251 as device ID, use only 251 and it should work. To get a clean db, you could first delete the temData.db file to start from scratch
Ahhh, well yes, this did it!
I'm a happy camper now :)
Thank you for taking the time to help me troubleshoot this.
Now I'm ...
- Sun Jul 26, 2015 8:51 pm
- Forum: Plugin Support
- Topic: ClimateDataCalculation
- Replies: 540
- Views: 109579
Re: ClimateDataCalculation
Thanks!
First mistake, I did NOT have highcharts zip package.
I downloaded it and now it displays info, however, it is zero.
report.GIF
Settings are:
macros.GIF
settings.GIF
If climateplugin does not utilize websockets then we do not have to troubleshoot it as I do not use it in EG ...
First mistake, I did NOT have highcharts zip package.
I downloaded it and now it displays info, however, it is zero.
report.GIF
Settings are:
macros.GIF
settings.GIF
If climateplugin does not utilize websockets then we do not have to troubleshoot it as I do not use it in EG ...