www.homeseer.com    
 

Go Back   HomeSeer Message Board > 3rd Party Plug-Ins/Scripts > Plug-ins by Author > Click Here for List of Author Forums > MCS Plug-Ins and Scripts > mcsMQTT (3P)

mcsMQTT (3P) Discussion of mcsMQTT plug-in

Reply
 
Thread Tools Display Modes
  #41  
Old May 13th, 2018, 12:06 AM
Summerguy's Avatar
Summerguy Summerguy is offline
Seer Deluxe
 
Join Date: Aug 2017
Location: Canada
Posts: 429
Thank for this info
Reply With Quote
  #42  
Old May 13th, 2018, 01:11 AM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,783
Pete,
Your total initialization was about two seconds and things look pretty typical. The last thing you showed is where the HSEvent callback was registered, but subsequently HS never did a callback to report a device status change. It actually looks as if things hung at this point as other data normally shown in the debug also stopped. The actual statement is below

Code:
callback.RegisterEventCB(HomeSeerAPI.Enums.HSEvent.VALUE_CHANGE, PLUGIN_NAME, "")
What is odd is that you seem to be the only one having this issue. I don't know exactly what our next step should be. In the future it would be better to just attach the debug file rather than picking info from it as sometime data relationships have significance too.

If you get in a situation where history or charts do not show then try toggling one of the checkboxes on the tab that includes/excludes classes of topics from the selector. This will cause the selector to be rebuilt. It is likely the database still has the data, but the page was being constructed at a time when the select filter was not being properly constructed.
Reply With Quote
  #43  
Old May 13th, 2018, 10:02 AM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 15,442
Thank you Michael.

I have left the start up of plugins in Homeseer default mode in the set up / tools lab / checkbox Load plug-ins in the background on startup.

I have had one or two other plugins which did not shut off or took a long time to shut down when shutting down the mothership.

Never pay attention these days.

IE: then to see the plugins run in a terminal window (very chatty kathy) I would run the plugins manually in a linux terminal window using the remote command (locally) mono plugin.exe in Linux. Way long time ago with first versions of Homeseer 3 in windows you could do this but I read today you cannot.

Testing the first Omni Plugin did the console thing to watch and did notice when shutting down the main mothership HS3 the plugin would error out and fill up the console as it was shutting down. Starting though worked fine.

Yes the debug file was Mb's large and I should just compress and attach it to the post.

Yeah don't know why this happened to me only as all I am doing here is using a Red Node OWFS broker with the mcsMQTT plugin.

I am not doing anything with the data on the Homeseer 3 side other than watching it and looking at the charts.

I have configured more Node Red OWFS sensors and have these disabled at this time. Each of the Node Red OWFS to MQTT sensors is set up to check OWFS readings every 10 seconds which is probably too much? Am I the only one here using the Node Red / OWFS broker with multiple 1-wire sensors?
Is one Node Red broker / OWFS / every 10 seconds per sensor X 16 or so sensors too much? Should I go to maybe a 120 or 360 seconds Mosquitto send per device?

None the less the issue did crop up on the repeated start ups of Homeseer and the plugin version 3.3.4.0 within a few hours of it running as it has happened similarly only once before with a different version of the plugin. Never really was paying attention to the HS3 logs or gui but caught it mostly with the 15 Homeseer touchscreens losing connectivity of the mothership.

Feel asleep early last night / morning and quit watching.

This morning version 3.3.4.2 of the plugin is running fine. HS3 response times are great and I see no errors in the Homeseer 3 logs. I have not looked at debug and was going to shut it off.

I will attach the debug logs here with this message zipped up.

Zipped the 13Mb plus debug file and it is less than 1Mb compressed and attached.

If you get in a situation where history or charts do not show then try toggling one of the checkboxes on the tab that includes/excludes classes of topics from the selector. This will cause the selector to be rebuilt. It is likely the database still has the data, but the page was being constructed at a time when the select filter was not being properly constructed.

Thank you and will do. Going baby steps here and mostly watching then trying the new functions of the mcsMQTT plugin one step at a time.

I sincerely appreciate what you are doing with Mosquitto / plugin.
Attached Files
File Type: zip mcsMQTT Debug.txt.zip (878.7 KB, 1 views)
__________________
- Pete

Automator

HS3 Pro & Lite Edition Beta 3.0.0.4449

HS3 Wintel Touch | Ubuntu 16.04 64 bit | Oracle Windows Virtual Box ==> for Wintel only SAPI and HS3 plugins | Speech - Microsoft SAPI - Neospeech - Amazon Echo | Hardware | Haswell Intel iSeries 3 - 16Gb | Pine64 - 2Gb computers | Openpeak Intel Atom SoC tabletop touchscreens (15 HS tabletop tablets) | Touchscreens - Windows embedded POE connected |Light switches - X10,UPB, ZWave and Zigbee | Firewall - PFSense - 2 WAN plus 4 LAN interfaces | Network - Gb managed switches / POE WAP(s) | CCTV - Zoneminder IPHD cams - variety | Audio - Russound - AB8SS | Security - Leviton HAI Omni Pro 2 | Weather - Davis Vantage Vue - MeteoStick - WeeWx | 1-Wire - AAG, Midon and HB | OWFS - Mosquitto - Node Red - Python - RPi Stretch - OpenWRT

Last edited by Pete; May 13th, 2018 at 12:23 PM.
Reply With Quote
  #44  
Old May 13th, 2018, 06:16 PM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 15,442
V.3.3.4.2 at 15.15 C time is doing fine.

No errors in logs and Homeseer 3 GUI is fast, touchscreens are all connected and logs are error free.
__________________
- Pete

Automator

HS3 Pro & Lite Edition Beta 3.0.0.4449

HS3 Wintel Touch | Ubuntu 16.04 64 bit | Oracle Windows Virtual Box ==> for Wintel only SAPI and HS3 plugins | Speech - Microsoft SAPI - Neospeech - Amazon Echo | Hardware | Haswell Intel iSeries 3 - 16Gb | Pine64 - 2Gb computers | Openpeak Intel Atom SoC tabletop touchscreens (15 HS tabletop tablets) | Touchscreens - Windows embedded POE connected |Light switches - X10,UPB, ZWave and Zigbee | Firewall - PFSense - 2 WAN plus 4 LAN interfaces | Network - Gb managed switches / POE WAP(s) | CCTV - Zoneminder IPHD cams - variety | Audio - Russound - AB8SS | Security - Leviton HAI Omni Pro 2 | Weather - Davis Vantage Vue - MeteoStick - WeeWx | 1-Wire - AAG, Midon and HB | OWFS - Mosquitto - Node Red - Python - RPi Stretch - OpenWRT
Reply With Quote
  #45  
Old May 14th, 2018, 11:09 AM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 15,442
Day #2 of V.3.3.4.2 at 10.02 C time

Playing with 1-wire OWFS counter values from the Hobby Boards dual counter in the Lightning sensor.

This morning added second broker RPi / Node Red in attic with Hobby Boards Lightning dual counter. It is working. I configured the rate and accum device adds.

Name:  HB-LightningCounter.jpg
Views: 51
Size:  50.9 KB

In the Homeseer 3 GUI I see the current value, accum and rate numbers increasing fine.

Curious what the rate is?

Is it a count per minute / per hour?

How do I set the rate?

Guessing that the accum number adding the current value number?

Name:  counter.jpg
Views: 51
Size:  15.0 KB

Is it possible to graph the rate?
__________________
- Pete

Automator

HS3 Pro & Lite Edition Beta 3.0.0.4449

HS3 Wintel Touch | Ubuntu 16.04 64 bit | Oracle Windows Virtual Box ==> for Wintel only SAPI and HS3 plugins | Speech - Microsoft SAPI - Neospeech - Amazon Echo | Hardware | Haswell Intel iSeries 3 - 16Gb | Pine64 - 2Gb computers | Openpeak Intel Atom SoC tabletop touchscreens (15 HS tabletop tablets) | Touchscreens - Windows embedded POE connected |Light switches - X10,UPB, ZWave and Zigbee | Firewall - PFSense - 2 WAN plus 4 LAN interfaces | Network - Gb managed switches / POE WAP(s) | CCTV - Zoneminder IPHD cams - variety | Audio - Russound - AB8SS | Security - Leviton HAI Omni Pro 2 | Weather - Davis Vantage Vue - MeteoStick - WeeWx | 1-Wire - AAG, Midon and HB | OWFS - Mosquitto - Node Red - Python - RPi Stretch - OpenWRT
Reply With Quote
  #46  
Old May 14th, 2018, 11:47 AM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,783
Quote:
Curious what the rate is?

Is it a count per minute / per hour?

How do I set the rate?

Guessing that the accum number adding the current value number?
I based the rate off of what was done in mcsTemperature for barometric rate that was use to determine the trend arrow. Looking back I have not handled the time interval correctly in mcsMQTT and likely will need to make this an input parameter just like the sensitivity parameter. In digital systems the determination of rate is problematic as data is quantized and not continuous. That is why I added the user selection of the sensitivity to reduce the effects of quantification when the information of interest is more of trend than an instantaneous rate.

Accum is the sum of the payloads received such as the counts of a tipping bucket that reports with each tip of the bucket.

Quote:
Is it possible to graph the rate?
At this time it is not possible to graph rate with mcsMQTT. I was looking at this initially since is something that is desirable. The problem is that History is collected on payloads and rate is not in the payload. I thought of augmenting the payload to include rate and accum when saved. I thought of adding a rate and/or accum pseudo message. I also thought of just keeping a separate table for these. At this time I have not done any of these.
Reply With Quote
  #47  
Old May 14th, 2018, 04:46 PM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 15,442
Thank you Michael. Great stuff here.

Yeah with a passing thunderstorm this afternoon acum number went a larger number that could be displayed and rate keep going up and down to now with no storms around to zero.

Is there a way to reset the payload number to zero at midnight?

The only way I can reset the hobby boards counter now is via the maxim software or powering off the dual counters.

At this time it is not possible to graph rate with mcsMQTT.

Understood.

Thinking maybe I can use node red to generate three mosquitto payloads from one counter?
__________________
- Pete

Automator

HS3 Pro & Lite Edition Beta 3.0.0.4449

HS3 Wintel Touch | Ubuntu 16.04 64 bit | Oracle Windows Virtual Box ==> for Wintel only SAPI and HS3 plugins | Speech - Microsoft SAPI - Neospeech - Amazon Echo | Hardware | Haswell Intel iSeries 3 - 16Gb | Pine64 - 2Gb computers | Openpeak Intel Atom SoC tabletop touchscreens (15 HS tabletop tablets) | Touchscreens - Windows embedded POE connected |Light switches - X10,UPB, ZWave and Zigbee | Firewall - PFSense - 2 WAN plus 4 LAN interfaces | Network - Gb managed switches / POE WAP(s) | CCTV - Zoneminder IPHD cams - variety | Audio - Russound - AB8SS | Security - Leviton HAI Omni Pro 2 | Weather - Davis Vantage Vue - MeteoStick - WeeWx | 1-Wire - AAG, Midon and HB | OWFS - Mosquitto - Node Red - Python - RPi Stretch - OpenWRT
Reply With Quote
  #48  
Old May 14th, 2018, 07:35 PM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,783
Quote:
Is there a way to reset the payload number to zero at midnight?
There is a checkbox for the Accum device to be reset at midnight. Same box as the checkbox to create the Accum device. Doing a zero reset for payloads does not make sense to me as these will just be overwritten with the next payload received after midnight.
Reply With Quote
  #49  
Old May 14th, 2018, 09:40 PM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,783
Publication List Feature Added

Version 3.3.5.0 adds a new tab to manage a Publication list. The intent of this tab is to handle the one-time setup of IOT devices where configuration information is obtained via MQTT.

The motivation for this is with Sonoff 4CH for irrigation and LoRa units that need to be setup and this setup is done via MQTT.

A file is created either outside the plugin or inside the plugin on Pub List tab. Each row of the file contains text of the form Topic=Payload. The Execute button on the Pub List tab will send all the messages one time.

The file(s) are located in the \Data\mcsMQTT folder and have the file type of ".pub".

Substitution variables $$1: through $$4: have been provided to allow the .pub file to be a template, but it can also be explicit definitions of all topics and payloads.

The manual has been updated to describe this new feature.
Reply With Quote
  #50  
Old May 15th, 2018, 09:25 AM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 15,442
Thank you Michael.

Yes noticed a couple of days ago when using acum variable it was just adding the payloads together such that I shut that variable off.

Last night we had a few passing thunderstorms and much lightning. I watched the rate variable go up and down. Thinking back with the mcsTemperature stuff / xAP I would really only pay attention to the increases in rate of Lightning graph.
__________________
- Pete

Automator

HS3 Pro & Lite Edition Beta 3.0.0.4449

HS3 Wintel Touch | Ubuntu 16.04 64 bit | Oracle Windows Virtual Box ==> for Wintel only SAPI and HS3 plugins | Speech - Microsoft SAPI - Neospeech - Amazon Echo | Hardware | Haswell Intel iSeries 3 - 16Gb | Pine64 - 2Gb computers | Openpeak Intel Atom SoC tabletop touchscreens (15 HS tabletop tablets) | Touchscreens - Windows embedded POE connected |Light switches - X10,UPB, ZWave and Zigbee | Firewall - PFSense - 2 WAN plus 4 LAN interfaces | Network - Gb managed switches / POE WAP(s) | CCTV - Zoneminder IPHD cams - variety | Audio - Russound - AB8SS | Security - Leviton HAI Omni Pro 2 | Weather - Davis Vantage Vue - MeteoStick - WeeWx | 1-Wire - AAG, Midon and HB | OWFS - Mosquitto - Node Red - Python - RPi Stretch - OpenWRT
Reply With Quote
  #51  
Old May 15th, 2018, 07:47 PM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,783
With 3.3.6.0 two additional options have been provided for the Rate and Accum devices.

The rate device now has the time base which is selectable as per second, minute, or hour.

The accum device will act on one of two ways depending upon the reset option selected. One is to set the accumulation to 0 at midnight. This was the existing behavior. It would be used for something like a pulse counter for energy or water use where each pulse represents a quantity and the sum of these are accumulated.

The other behavior is that the device will capture the value at midnight and then reflect changes from that midnight value through the day. This is also appropriate for energy or water use, but for the case where the input is the since day-1 accumulated value and the desire is have the value that is the delta since midnight to reflect daily totals.
Reply With Quote
  #52  
Old May 16th, 2018, 07:47 AM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 15,442
Thank you Michael.

Updated to 3.3.6.0

Seeing this in the logs.

May-16 6:43:01 AM Database There were errors generated during the save of the database item. Please consult this log for more details and report any data loss to HomeSeer Technologies.
May-16 6:44:01 AM Error SQL Exception updating device record in the database: SQL logic error or missing database no such column: NaN, Code=1, Link=
May-16 6:44:01 AM Error SQL Exception : UPDATE [Devices] SET [ref]=2210,[name]='counter.A Rate',[location]='1D.37C907000000',[location2]='',[Last_Change]='2018-05-16 06:43:52',[devValue]=NaN,[devString]='',[object_version]=101,[object_data]=@ByteArray WHERE [ref]=2210;
May-16 6:44:01 AM Database ERROR, device 1D.37C907000000 counter.A Rate failed to be updated or added to the database.
May-16 6:44:01 AM Database Error - Save of the devices to the database did not succeed - see the log for more details.
May-16 6:44:01 AM Database There were errors generated during the save of the database item. Please consult this log for more details and report any data loss to HomeSeer Technologies.
May-16 6:45:01 AM Error SQL Exception updating device record in the database: SQL logic error or missing database no such column: NaN, Code=1, Link=
May-16 6:45:01 AM Error SQL Exception : UPDATE [Devices] SET [ref]=2210,[name]='counter.A Rate',[location]='1D.37C907000000',[location2]='',[Last_Change]='2018-05-16 06:44:52',[devValue]=NaN,[devString]='',[object_version]=101,[object_data]=@ByteArray WHERE [ref]=2210;

The above logging entries took HS3 down to a crawl and it became difficult to navigate.
I was able to shut down HS3. Restarted it then....enabled plugin and...

5/16/2018
May-16 6:49:39 AM Plug-In Finished initializing plug-in mcsMQTT
May-16 6:49:39 AM Info Plugin mcsMQTT has connected. IP:127.0.0.1:37302
May-16 6:49:39 AM Starting Plug-In Initializing plugin mcsMQTT ...
May-16 6:49:39 AM mcsMQTT Version 3.3.6.0 Registered with Homeseer
May-16 6:49:39 AM Starting Plug-In Plugin mcsMQTT started successfully in 178 milliseconds

Disabled rate for time bean and retain to zero days to reset all numbers.
Went to the /HomeSeer/Data/mcsMQTT directory and removed historical databases and disabled debug and removed debug.txt.

Enabled history for one day.

Unabled to get to MQTT Setup tabs at this time (after enabling history).

Disabled / enabled mcsMQTT plugin and able to get to the mcsMQTT setup tabs.

See history now and can chart on counter variable.

Added rate device.

Name:  rate.jpg
Views: 34
Size:  62.9 KB

Started to see the SQL errors:

May-16 7:12:01 AM Error SQL Exception updating device record in the database: SQL logic error or missing database no such column: NaN, Code=1, Link=
May-16 7:12:01 AM Error SQL Exception : UPDATE [Devices] SET [ref]=2212,[name]='counter.A Rate',[location]='1D.37C907000000',[location2]='',[Last_Change]='2018-05-16 07:11:55',[devValue]=NaN,[devString]='',[object_version]=101,[object_data]=@ByteArray WHERE [ref]=2212;
May-16 7:12:01 AM Database ERROR, device 1D.37C907000000 counter.A Rate failed to be updated or added to the database.
May-16 7:12:01 AM Database Error - Save of the devices to the database did not succeed - see the log for more details.
May-16 7:12:01 AM Database There were errors generated during the save of the database item. Please consult this log for more details and report any data loss to HomeSeer Technologies.
May-16 7:13:01 AM Error SQL Exception updating device record in the database: SQL logic error or missing database no such column: NaN, Code=1, Link=
May-16 7:13:01 AM Error SQL Exception : UPDATE [Devices] SET [ref]=2212,[name]='counter.A Rate',[location]='1D.37C907000000',[location2]='',[Last_Change]='2018-05-16 07:12:55',[devValue]=NaN,[devString]='',[object_version]=101,[object_data]=@ByteArray WHERE [ref]=2212;
May-16 7:13:01 AM Database ERROR, device 1D.37C907000000 counter.A Rate failed to be updated or added to the database.
May-16 7:13:01 AM Database Error - Save of the devices to the database did not succeed - see the log for more details.
May-16 7:13:02 AM Database There were errors generated during the save of the database item. Please consult this log for more details and report any data loss to HomeSeer Technologies.
May-16 7:14:02 AM Error SQL Exception updating device record in the database: SQL logic error or missing database no such column: NaN, Code=1, Link=
May-16 7:14:02 AM Error SQL Exception : UPDATE [Devices] SET [ref]=2212,[name]='counter.A Rate',[location]='1D.37C907000000',[location2]='',[Last_Change]='2018-05-16 07:13:56',[devValue]=NaN,[devString]='',[object_version]=101,[object_data]=@ByteArray WHERE [ref]=2212;
May-16 7:14:02 AM Database ERROR, device 1D.37C907000000 counter.A Rate failed to be updated or added to the database.
May-16 7:14:02 AM Database Error - Save of the devices to the database did not succeed - see the log for more details.
May-16 7:14:02 AM Database There were errors generated during the save of the database item. Please consult this log for more details and report any data loss to HomeSeer Technologies.

Disabled rate device.

Disabled mcsMQTT plugin for time bean.

May-16 7:16:11 AM Plug-In Shutting down Plug-In: mcsMQTT
May-16 7:16:12 AM Info Plugin mcsMQTT with instance: has disconnected
__________________
- Pete

Automator

HS3 Pro & Lite Edition Beta 3.0.0.4449

HS3 Wintel Touch | Ubuntu 16.04 64 bit | Oracle Windows Virtual Box ==> for Wintel only SAPI and HS3 plugins | Speech - Microsoft SAPI - Neospeech - Amazon Echo | Hardware | Haswell Intel iSeries 3 - 16Gb | Pine64 - 2Gb computers | Openpeak Intel Atom SoC tabletop touchscreens (15 HS tabletop tablets) | Touchscreens - Windows embedded POE connected |Light switches - X10,UPB, ZWave and Zigbee | Firewall - PFSense - 2 WAN plus 4 LAN interfaces | Network - Gb managed switches / POE WAP(s) | CCTV - Zoneminder IPHD cams - variety | Audio - Russound - AB8SS | Security - Leviton HAI Omni Pro 2 | Weather - Davis Vantage Vue - MeteoStick - WeeWx | 1-Wire - AAG, Midon and HB | OWFS - Mosquitto - Node Red - Python - RPi Stretch - OpenWRT

Last edited by Pete; May 16th, 2018 at 08:17 AM.
Reply With Quote
  #53  
Old May 16th, 2018, 03:18 PM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,783
Did not protect from divide by zero. The timing of when a LastChange date is actually updated is such that sometimes it will not have occurred when the rate interval is calculated and results in a 0 time interval. Fixed in 3.3.6.1.

You will need to delete the rate device and recreate it again (checkbox toggle on Edit page) to clear the NaN from the rate device Value.

When this problem occurs on my two test machines it does not affect the responsiveness of HS so we still do not understand why your environment appears fragile. It could be with the rate of sensor input so that the error interval is much higher. My sensor update rates are in terms of minutes and not seconds.
Reply With Quote
  #54  
Old May 16th, 2018, 04:53 PM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 15,442
Thank you Michael.

Updated to V.3.3.6.1

I deleted the rate device and recreated it to same as before which is one minute.

Name:  rate1.jpg
Views: 29
Size:  12.6 KB

Configured it for two days.

Name:  mm1.jpg
Views: 29
Size:  35.2 KB

After 15 minutes or so I see no sql errors in the Homeseer Logs.
__________________
- Pete

Automator

HS3 Pro & Lite Edition Beta 3.0.0.4449

HS3 Wintel Touch | Ubuntu 16.04 64 bit | Oracle Windows Virtual Box ==> for Wintel only SAPI and HS3 plugins | Speech - Microsoft SAPI - Neospeech - Amazon Echo | Hardware | Haswell Intel iSeries 3 - 16Gb | Pine64 - 2Gb computers | Openpeak Intel Atom SoC tabletop touchscreens (15 HS tabletop tablets) | Touchscreens - Windows embedded POE connected |Light switches - X10,UPB, ZWave and Zigbee | Firewall - PFSense - 2 WAN plus 4 LAN interfaces | Network - Gb managed switches / POE WAP(s) | CCTV - Zoneminder IPHD cams - variety | Audio - Russound - AB8SS | Security - Leviton HAI Omni Pro 2 | Weather - Davis Vantage Vue - MeteoStick - WeeWx | 1-Wire - AAG, Midon and HB | OWFS - Mosquitto - Node Red - Python - RPi Stretch - OpenWRT

Last edited by Pete; May 16th, 2018 at 05:13 PM.
Reply With Quote
  #55  
Old May 17th, 2018, 06:28 AM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 15,442
I am not totally sure why the SQL database errors with previous version were causing utilization issues with Homeseer 3 running on Ubuntu 16.04 64 bit. I should have looked at HTop when the errors were occurring. Here is HTop with no errors ...looks pretty innocuous to me...

Typically Ubuntu does a very good job of memory management except when you do things with mono ....

Name:  htop.jpg
Views: 25
Size:  18.9 KB
__________________
- Pete

Automator

HS3 Pro & Lite Edition Beta 3.0.0.4449

HS3 Wintel Touch | Ubuntu 16.04 64 bit | Oracle Windows Virtual Box ==> for Wintel only SAPI and HS3 plugins | Speech - Microsoft SAPI - Neospeech - Amazon Echo | Hardware | Haswell Intel iSeries 3 - 16Gb | Pine64 - 2Gb computers | Openpeak Intel Atom SoC tabletop touchscreens (15 HS tabletop tablets) | Touchscreens - Windows embedded POE connected |Light switches - X10,UPB, ZWave and Zigbee | Firewall - PFSense - 2 WAN plus 4 LAN interfaces | Network - Gb managed switches / POE WAP(s) | CCTV - Zoneminder IPHD cams - variety | Audio - Russound - AB8SS | Security - Leviton HAI Omni Pro 2 | Weather - Davis Vantage Vue - MeteoStick - WeeWx | 1-Wire - AAG, Midon and HB | OWFS - Mosquitto - Node Red - Python - RPi Stretch - OpenWRT
Reply With Quote
  #56  
Old May 17th, 2018, 04:38 PM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,783
Version 3.3.7.0 updates the file save format of the publication list so that the substitution variables are included with the file rather than being global for all files. If you had created a publication list in the past then it will either need to be recreated or the file manually edited to include four blank lines at the top.

The manual was also updated to reflect the use of Sonoff for irrigation control. The Tasmota firmware with this capability is at http://mcsSprinklers.com/mcsTasmota.bin. The irrigation has three modes.

The first is OFF which means that no irrigation modeling is performed.

The second is ON which means an interval schedule and start hour is provided via MQTT for each relay and the Sonoff will independently perform the irrigation control and report status via MQTT. It will also accept button input or MQTT command input for manual control of the irrigation valves. Some Sonoff units also have RF receivers so manual control via 433 MHz RF can also be done.

The third is AUTO which means the Sonoff is expected to be slaved to a smarter irrigation controller such as mcsSprinklers, but if communication is lost then the Sonoff reverts to the same operation as in irrigation ON mode.

The manual contains the specifics of the irrigation operation and how it is setup with mcsMQTT. Other products that accept Tasmota firmware that have relays can also be used. If one is using this hardware in lightning-prone areas then additional front-end circuitry is recommended to protect the units. Alternately, the units are sufficiently cheap that it may be more cost effective to replace than to add lightning suppression circuitry.
Reply With Quote
  #57  
Old May 17th, 2018, 04:57 PM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 15,442
Updated to Version 3.3.7.0. Thank you Michael.

I have not yet published any topics. I did see a new tab a couple of versions back.

Name:  pubtab.jpg
Views: 22
Size:  86.9 KB

Been doing a Linux sftp://ipofhomeseerserver to read the help files.

Name:  sftp.jpg
Views: 21
Size:  101.1 KB

Wondering if you can put a link to the mcsMQTT.pdf file under the plugin tabs or under the main Homeseer Help section (Jeff @ WeatherXML does this).

Name:  weatherXMLHelp.jpg
Views: 21
Size:  32.2 KB

Name:  mcsMQTTHelp.jpg
Views: 21
Size:  21.7 KB

Looking forward to tinkering with Sonoff stuff soon.
__________________
- Pete

Automator

HS3 Pro & Lite Edition Beta 3.0.0.4449

HS3 Wintel Touch | Ubuntu 16.04 64 bit | Oracle Windows Virtual Box ==> for Wintel only SAPI and HS3 plugins | Speech - Microsoft SAPI - Neospeech - Amazon Echo | Hardware | Haswell Intel iSeries 3 - 16Gb | Pine64 - 2Gb computers | Openpeak Intel Atom SoC tabletop touchscreens (15 HS tabletop tablets) | Touchscreens - Windows embedded POE connected |Light switches - X10,UPB, ZWave and Zigbee | Firewall - PFSense - 2 WAN plus 4 LAN interfaces | Network - Gb managed switches / POE WAP(s) | CCTV - Zoneminder IPHD cams - variety | Audio - Russound - AB8SS | Security - Leviton HAI Omni Pro 2 | Weather - Davis Vantage Vue - MeteoStick - WeeWx | 1-Wire - AAG, Midon and HB | OWFS - Mosquitto - Node Red - Python - RPi Stretch - OpenWRT

Last edited by Pete; May 17th, 2018 at 05:13 PM.
Reply With Quote
  #58  
Old May 18th, 2018, 07:15 PM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,783
The plugin links now contain two links for mcsMQTT with version 3.3.8.0. The original Setup and a new Doc one.

I have found two things when testing. One is that my brower, by default, blocks popups and the new tab for the document pdf is apparently considered a popup. When Chrome provide the feedback that it blocked the page it also provides the option to allow popups from HS server.

The second is that the .pdf file is considered a download by Chrome rather than a page to be rendered. The filename will show in the bottom bar of Chrome and it needs to be clicked to actually see it.
Reply With Quote
  #59  
Old May 18th, 2018, 08:09 PM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 15,442
Thank you Michael.

Updated to V.3.3.8.0 before your post #58.

I do not see two V.3.3.8.0 manager update links.

I shut down HS3 and rebooted the computer to see if the help file links would be there on reboot.

Here utilize only Firefox on Ubuntu or Windows or Android. (IE: never have used or installed Chrome on any computer - that is me though).

For PDF files have seen Firefox open the files and display them in the Firefox browser or download PDF files.

Firefox does have a built in PDF file viewer:

Firefox includes a built-in PDF viewer that allows you to view almost all PDF files found on the web without a plugin. The built-in PDF viewer is enabled by default.
__________________
- Pete

Automator

HS3 Pro & Lite Edition Beta 3.0.0.4449

HS3 Wintel Touch | Ubuntu 16.04 64 bit | Oracle Windows Virtual Box ==> for Wintel only SAPI and HS3 plugins | Speech - Microsoft SAPI - Neospeech - Amazon Echo | Hardware | Haswell Intel iSeries 3 - 16Gb | Pine64 - 2Gb computers | Openpeak Intel Atom SoC tabletop touchscreens (15 HS tabletop tablets) | Touchscreens - Windows embedded POE connected |Light switches - X10,UPB, ZWave and Zigbee | Firewall - PFSense - 2 WAN plus 4 LAN interfaces | Network - Gb managed switches / POE WAP(s) | CCTV - Zoneminder IPHD cams - variety | Audio - Russound - AB8SS | Security - Leviton HAI Omni Pro 2 | Weather - Davis Vantage Vue - MeteoStick - WeeWx | 1-Wire - AAG, Midon and HB | OWFS - Mosquitto - Node Red - Python - RPi Stretch - OpenWRT

Last edited by Pete; May 18th, 2018 at 08:24 PM.
Reply With Quote
  #60  
Old May 18th, 2018, 08:15 PM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,783
Code:
Browser to HS Server
  PLUG-INS
     mcsMQTT
         MQTT Setup
         MQTT Doc
I have my install from the Updater so I know what is in the updater is corrrect
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HS3 Version Doesn't work like HS2 Version jlrichar mcsSprinklers 10 July 15th, 2014 11:35 AM
HSTouchPad older version ipa / Locking your version Automated HSTouch™ 2 July 11th, 2014 02:22 PM
Running HS2 version as well as upgrade HS3 version JimBob RFXCOM Plug-In (3P) 2 May 17th, 2014 10:08 AM
Version 0.93 Nitrox Caddx (3P) 7 February 13th, 2004 10:58 PM
New Version Nitrox Caddx (3P) 0 February 2nd, 2004 10:07 PM


All times are GMT -4. The time now is 12:45 PM.


Copyright HomeSeer Technologies, LLC