I'm running the broker on a separate Ubuntu install.
Announcement
Collapse
No announcement yet.
HomeSeer MQTT plugin.
Collapse
X
-
Originally posted by MrMxyzptlk View PostI'm running the broker on a separate Ubuntu install.
While at it, set both HomeSeer and MQTT servers with static IP addresses plus if HomeSeer is Windows then make sure mqtt plugin is not blocked by the firewall.
Else you didn't also mention your system specs. Plus if you enabled the plugin in the updater, does it go green or not? Though you wouldn't be able to configure it if it's not enabled! A restart of stuck plugins sometimes fixes that issue.
Note: Multiple NICs if not setup properly cause problems in HomeSeer. If none of what I mentioned above is the issue you are facing please consult the plugin author.
Eman.Last edited by Eman; October 30, 2017, 02:32 PM.TinkerLand : Life's Choices,"No One Size Fits All"
Comment
-
Now while you wait for a response from the author try some drastic measures :
Stop HomeSeer and dig into its folder and remove these file related to MQTT and remove them :
HomeSeer folder ==>
HSPI_MQTT
HSPI_MQTT.exe.config
M2Mqtt.dll
config folder ==>
MQTT
MQTT.ini.bak
Data folder ==>
HS3MQTT ==>hs3mqtt.sqlite
Then restart HomeSeer and reinstall the plugin and see what happens.
Eman.TinkerLand : Life's Choices,"No One Size Fits All"
Comment
-
Originally posted by MrMxyzptlk View PostI appreciate all the help, but I had already done that.
I stopped the plugin, uninstalled it, and searched the HS3 root and subfolders for anything with mqtt in the name; I then deleted all of those, and reinstalled the plugin with the same result.
Now I can't say that you have already seen this :https://forums.homeseer.com/showthread.php?t=162541 looks similar!
And this too :https://forums.homeseer.com/showthread.php?t=177213 .
Read through those posts.
Eman.TinkerLand : Life's Choices,"No One Size Fits All"
Comment
-
Hello Everyone,
Anybody using this on the Ztroller (RPI) on this forum
I am using the Ztroller
First, I used the Windows/Linux version of the plugin.
When I initialize the plugin, I get this:
WARNING: Failed getting InterfaceStatus from MQTT - the interface was not found in the list of active interfaces, the list may need to be refreshed.
The log entry is as follows:
Oct-29 8:08:46 AM Plug-In Finished initializing plug-in MQTT
Oct-29 8:08:46 AM Error Initializing plug-in(2): MQTT Instance::Object reference not set to an instance of an objectSTACK: at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_remoting_wrapper (intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IPlugInAPI:InitIO (string) at Scheduler.clsHSPI.CheckInterfaces () <0x7232b340 + 0x00217> in :0
Oct-29 8:07:55 AM Info Plugin MQTT has connected. IP:127.0.0.1:57322
Then I go to configure MQTT plugin and I get no webpage
the log states this:
Oct-29 4:56:10 PM Error Getting web page from plugin page MQTTConfig:Object reference not set to an instance of an object
I went to the https://www.domoticaforum.eu/ forum and found the RPI version.
When I used the RPI version with the two dlls, and I get nothing, IE under manage plugins, there is no MQTT to
turn on or off.
I read through the whole forum at https://www.domoticaforum.eu/. Several other people have the same problem.
But no one give an answer to what to do to get it to work, even though someone said they did get it to work.
So I though I'd ask here. I would really like to get this to work.
I have an MQTT broke on one RPI and from the command line in the Ztroller, I can subscribe and get that to work, just not able to install the plugin.
Thanks
Bruce
Comment
-
Originally posted by dbvanb View PostHello Everyone,
Anybody using this on the Ztroller (RPI) on this forum
I am using the Ztroller
First, I used the Windows/Linux version of the plugin.
When I initialize the plugin, I get this:
WARNING: Failed getting InterfaceStatus from MQTT - the interface was not found in the list of active interfaces, the list may need to be refreshed.
The log entry is as follows:
Oct-29 8:08:46 AM Plug-In Finished initializing plug-in MQTT
Oct-29 8:08:46 AM Error Initializing plug-in(2): MQTT Instance::Object reference not set to an instance of an objectSTACK: at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_remoting_wrapper (intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IPlugInAPI:InitIO (string) at Scheduler.clsHSPI.CheckInterfaces () <0x7232b340 + 0x00217> in :0
Oct-29 8:07:55 AM Info Plugin MQTT has connected. IP:127.0.0.1:57322
Then I go to configure MQTT plugin and I get no webpage
the log states this:
Oct-29 4:56:10 PM Error Getting web page from plugin page MQTTConfig:Object reference not set to an instance of an object
I went to the https://www.domoticaforum.eu/ forum and found the RPI version.
When I used the RPI version with the two dlls, and I get nothing, IE under manage plugins, there is no MQTT to
turn on or off.
I read through the whole forum at https://www.domoticaforum.eu/. Several other people have the same problem.
But no one give an answer to what to do to get it to work, even though someone said they did get it to work.
So I though I'd ask here. I would really like to get this to work.
I have an MQTT broke on one RPI and from the command line in the Ztroller, I can subscribe and get that to work, just not able to install the plugin.
Thanks
Bruce
Hello,
Your issue looks a bit similar to the earlier posts above. Can you please redirect all installation related questions here : https://www.domoticaforum.eu/viewtop...0525&start=195
The plugin author commented on user rights. ( Not using his own words )I would say if you want to avoid problems on Windows Servers because of user rights when installing HomeSeer, install it for everyone (every user) not administrator only!
But if your issue is not related to Windows then check to see that DEVELOPER OPTION is not ticked in the Updater. This in relation to links in the previous posts above although unrelated to MQTT and tell everyone when you find a solution. That could in the future help someone.
EDIT: Out of curiosity how may plugins do you have installed on Ztroller? And or the version of HomeSeer on it?
Eman.Last edited by Eman; October 30, 2017, 02:57 PM.TinkerLand : Life's Choices,"No One Size Fits All"
Comment
-
Thanks for the reply. I was not registered at the domotica forum, but I have just done that.
What I called the ztroller is officially the Hometroller-Z s2. This runs on the raspberry pi, with the specific homeseer build. I am currently at 3.0.0.368, which is the latest.
I have 4 plugins, and the MQTT would be the fifth, which is the limit for the hometroller-z. (Why I don't know). This is a Linux OS, which I am fairly familiar with, as all my home computers are Linux based.
I run:
wxweather
SDJ-health
RaspberryIO
and the Zwave plugin (why that counts as a plugin, again I don't know)
MQTT would be the fifth.
HStouch used to be a plugin, and when it moved to the main program,
I thought this would be an opportunity to add MQTT
I will post over at Domotica as soon as I get access, but again, the question has been asked there a number of times, with no good answer - just use the RPI version, so still if anybody here knows the answer, I would be grateful. When I get it figured out, I will post it here as well.
Thanks again
Bruce
Comment
-
Originally posted by dbvanb View PostThanks for the reply. I was not registered at the domotica forum, but I have just done that.
What I called the ztroller is officially the Hometroller-Z s2. This runs on the raspberry pi, with the specific homeseer build. I am currently at 3.0.0.368, which is the latest.
I have 4 plugins, and the MQTT would be the fifth, which is the limit for the hometroller-z. (Why I don't know). This is a Linux OS, which I am fairly familiar with, as all my home computers are Linux based.
I run:
wxweather
SDJ-health
RaspberryIO
and the Zwave plugin (why that counts as a plugin, again I don't know)
MQTT would be the fifth.
HStouch used to be a plugin, and when it moved to the main program,
I thought this would be an opportunity to add MQTT
I will post over at Domotica as soon as I get access, but again, the question has been asked there a number of times, with no good answer - just use the RPI version, so still if anybody here knows the answer, I would be grateful. When I get it figured out, I will post it here as well.
Thanks again
Bruce
Ok while you wait, for testing purposes can you disable or remove the Raspberry IO plugin and restart the Troller and see what happens. Although HStouch plugin was removed it may still occupy the space. If it is then consult HST.
As for HomeSeer HS3 Updates :https://forums.homeseer.com/showthread.php?t=181241
Eman.Last edited by Eman; October 30, 2017, 04:47 PM.TinkerLand : Life's Choices,"No One Size Fits All"
Comment
-
@Eman & Community...
Anyone using MQTT Dashboard apps with Homeseer?
I started searching, found a few; wanted to get the community feedback if people have experience or recommend these/other dashes...
Home Assistant (HASS)
https://home-assistant.io/
Crouton
http://crouton.mybluemix.net/crouton/gettingStarted
https://github.com/edfungus/Crouton
Thingsboard
https://thingsboard.io/
-- online platform so no separate broker is needed, it's part of the platform. All you need to do is to send data to it by publishing it on the topic.
MQTT Dash (android app)
https://play.google.com/store/apps/d...tdash&hl=en_GB
MQTT Buddy (android app)
https://play.google.com/store/apps/d...buddy&hl=en_GB
Cayenne (android app)
https://play.google.com/store/apps/d...yenne&hl=en_GB
... looks like a free app, no strings attached. the company has a full professional/commercial ecosystem from what I can tell; cloud and all - not sure how/if that could be leveraged. Doesnt looks like it is required.
I'm using Imperihome (Android) and want to explore if there is anything better for making Dashboards. Imperihome has problems/quirks which annoy me and limit the dash a lot. These other dashes look much better but I don't want to code anything crazy to get them working.
thx for the inputLast edited by Ltek; November 5, 2017, 10:54 AM.
Comment
-
Originally posted by Ltek View Post@Eman & Community...
Anyone using MQTT Dashboard apps with Homeseer?
I started searching, found a few; wanted to get the community feedback if people have experience or recommend these/other dashes...
Home Assistant (HASS)
https://home-assistant.io/
Crouton
http://crouton.mybluemix.net/crouton/gettingStarted
https://github.com/edfungus/Crouton
Thingsboard
https://thingsboard.io/
-- online platform so no separate broker is needed, it's part of the platform. All you need to do is to send data to it by publishing it on the topic.
MQTT Dash (android app)
https://play.google.com/store/apps/d...tdash&hl=en_GB
MQTT Buddy (android app)
https://play.google.com/store/apps/d...buddy&hl=en_GB
Cayenne (android app)
https://play.google.com/store/apps/d...yenne&hl=en_GB
... looks like a free app, no strings attached. the company has a full professional/commercial ecosystem from what I can tell; cloud and all - not sure how/if that could be leveraged. Doesnt looks like it is required.
I'm using Imperihome (Android) and want to explore if there is anything better for making Dashboards. Imperihome has problems/quirks which annoy me and limit the dash a lot. These other dashes look much better but I don't want to code anything crazy to get them working.
thx for the input
I have much already had a look at most of them. The problem they need much the input of the setup (you must know coding) from the user and drive you away from using HomeSeer which to me is my main objective. They are not straight forward when trying to tie them into HomeSeer. I suggest you contact Geert. Jan : https://www.domoticaforum.eu/viewtopic.php?f=74&t=10525 To give you a coder's perspective on them.
Or else you may also check on this on here : https://forums.homeseer.com/showthread.php?t=190713
Unrelated but you may like it.
Eman.TinkerLand : Life's Choices,"No One Size Fits All"
Comment
-
non-standard port
Can you add the ability to specify a port other than 1883.
I'm using CloudMQTT and it uses non standard ports
Thanks.Joe (zimmer62)
BLSecurtiy, AC-RF2, RCS Serial Thermostats, RFXCOM SMarthome SwitchLinc, mcsXap, Global Cache GC100, SqueezeBox, TWA_ONKYOINTEGRA, BLLogMonitor, BLPlugins, BLRadar, BLSpeech, BLZLog.aspx, HSTouch (Windows, iPhone, iPod), USB Mimo touchscreens, VMWare Server, Vortexbox, Windows Home Server, MyMovies, Windows Media Center, X10, ZWave, and much much much more.
Comment
-
Hi,
As promised, I have figured out how to load the plugin on my Hometroller Z.
Maybe I'm slow, or maybe it was just my Z installation, but there were a few things I needed to do, as follows:
Here's how:
/usr/local/HomeSeer/bin did not contain SQLite.Interop.dll
needed both SQLite.Interop.dll and System.Data.SQLite.dll
required for the plugin to work
added both sqlite files from a post by Pete - SQLStuff.zip
rebooted no luck, until I remembered the post by Eman:
>Your issue looks a bit similar to the earlier posts above. Can you please redirect all installation related >questions here : https://www.domoticaforum.eu/viewtop...0525&start=195
>
>The plugin author commented on user rights. ( Not using his own words )I would say if you want to avoid problems on >Windows Servers because of user rights when installing HomeSeer, install it for everyone (every user) not >administrator only!
I had to give write permission on hs3mqtt.sqlite in /usr/local/HomeSeer/Data/HS3MQTT
It was writable only by root, but needed broader permissions,
so at the command line: sudo chmod 777 HS3MQTT
(from an SSH shell)
Restarted the plugin with success!
Keys are:
needing SQLite.Interop.dll System.Data.SQLite.dll. On my system the SQLite.Interop.dll was missing
in /usr/local/HomeSeer/bin
then write permission is needed on hs3mqtt.sqlite
in /usr/local/HomeSeer/Data/HS3MQTT.
I also upgraded Mosquitto from 1.3 to 1.4, but I am not sure that was needed.
Thanks for the author's responses at domoticaforum.eu, that is what led to getting it to work.
Now the fun begins
Bruce
Comment
-
HS3 Sonoff S20 MQTT Integration
Attached is a guide on integrating the Itead Sonoff S20 WiFi Smart Socket with HS3 using the MQTT Plugin and the Tasmota firmware. Hope you find it useful.
Attached FilesLast edited by taylormia; November 30, 2017, 06:54 PM.
Comment
Comment