Its Receiver 2 which I guess is a standard if its a multi node set-up as you cannot rename it.
Thanks again
Read the statement by Michael Teeuw here.
Posts made by spwood100
-
RE: MMM-Hive
-
RE: MMM-Hive
BINGO!!
It works, thanks so mych for your help on this (and obviously developing the module in the first place), its very much appreciated. Nice solution as well!
Cheers
S -
RE: MMM-Hive
Node > Array > Object 2 - Your Reciever
Node > Array > Object 3 - Landing Light
Node > Array > Object 4 - Receiver 3 ( I think this is the hot water reciever)
Node > Array > Object 5 - Hub
Node > Array > Object 6 - This seems to be an API call
Node > Array > Object 7
Node > Array > Object 8 - Your Receiver
Node > Array > Object 9 - Receiver 2Hope this helps
-
RE: MMM-Hive
Hey
Yes I saw that suddenly pop up on my screen and I know have a bunch more information. My receiver and thermostat are named “downstairs” but I can rename those as thats not critical seeing as there is only one Hive thermostat in the house. So I have renamed this and cannot see the old name in the payload but I do see the first node which has a name of Your Receiver and if I drill down into that it does have a bunch of attributes one of which is Thermostat and has a Reported value in there.In terms of the information you want though:
Node
Array > Object 1: Hall Light
-
RE: MMM-Hive
@mongo116 , If I click into the output in developer tools I get the following (not sure if thats any help?)
socketNotificationReceived: function(notification, payload) {
var dt = new Date();
var utcDate = dt.toUTCString();
if (notification === “INSIDE”) {
if (this.config.debug == true) {
Log.log(utcDate + " " + this.name + " received notification: " + notification);
this.processData(“INSIDE”, JSON.parse(payload));
this.updateDom(this.config.animationSpeed);
this.loaded = true;
this.error = false;
this.error401 = false;
} -
RE: MMM-Hive
Hi Mongo
Thanks for your continued help on this. This is my config for this module and it doesnt give more detailed information in developer tools than already shown. Is there something worng with how I am calling it?
{
module: “MMM-Hive”,
header: “Hive”,
position: “top_right”,
config: {
temperatureSuffix: “°C”,
username: “myusername”,
password: “mypassword”,
postcode: ‘whereIlive’,
showNext: true,
debug: true,
animatedLoading: true,
highestTemp: ‘22’,
highTemp: ‘20’,
lowTemp: ‘16’,
lowestTemp: ‘14’,
},
},nothing in the pm2 error logs either it just does not look to be calling the payload for the INTERNAL temp.
Cheers
-
RE: MMM-Hive
Hi
Just tested it on an up to date version of MM and still the same issue. The logs do not show anything out of the ordinary/home/pi/.pm2/logs/MagicMirror-out-0.log last 15 lines:
0|MagicMir | Starting server on port 8080 …
0|MagicMir | Server started …
0|MagicMir | Connecting socket for: updatenotification
0|MagicMir | Connecting socket for: calendar
0|MagicMir | Starting node helper for: calendar
0|MagicMir | Connecting socket for: MMM-Hive
0|MagicMir | Starting node helper for: MMM-Hive
0|MagicMir | Connecting socket for: newsfeed
0|MagicMir | Starting module: newsfeed
0|MagicMir | Sockets connected & modules started …
0|MagicMir | Launching application.
0|MagicMir | Create new calendar fetcher for url: http://www.calendarlabs.com/templates/ical/US-Holidays.ics - Interval: 300000
0|MagicMir | Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
0|MagicMir | Use existing news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml
0|MagicMir | Use existing news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xmlhowever in developer mode I can see the the payload for the inside temp is not getting generated where as the outside temp is
Do I have to enable something on my Hive account to let the API be called on it?
Cheers
-
RE: MMM-Hive
@mongo116 Thanks for the quick response. No error messages are showing in the console and I have also enabled verbose mode as well as debug mode. One thing I did notice is that I am running this on my dev server which is a few releases behind so I will try it on my prod which is at the latest release.
Cheers -
RE: MMM-Hive
Hi
Thanks so much for building this module from the screenshots it looks excellent. I am getting a null value for the internal temperature from my thermosta, any ideas why this might be? I have double checked my username and password and proven this works by putting in a dummy value and it then refuses to authenticate so I don’t believe its that.Maybe its a case of RTFM??
Thanks in advance
Stephen -
Tour de France Module
Would be great to develop a module for the upcoming tour de france similar to the NFL ones and the one that was developed for the Olympics last year. My simple workaround will be to do an iframe showing the leader board and also have a news feed looking for news about the tour. Would be a great module though if anyone has any skills