• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. mongo116
  3. Posts
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
M
Offline
  • Profile
  • Following 0
  • Followers 1
  • Topics 9
  • Posts 65
  • Groups 1

Posts

Recent Best Controversial
  • RE: Any MMM-Hive Users that can help, please?

    The config I have just tested with:

    		{
    			module: "MMM-Hive",
    			position: "top_right",
    			header: "Hive",
    			config: {
    				username: '',
    				password: '',
    				postcode: '',
    				updateInterval: 10 * 60000,
    				outsideUrl: 'http://weather-prod.bgchprod.info/weather?postcode=',
    				temperatureSuffix: ' °C',
    				showNext: true,
    				highestTemp: '30',
    				highTemp: '25',
    				lowTemp: '20',
    				lowestTemp: '15',
    				animatedLoading: true,
    				debug: true,
    					},
    
    posted in Troubleshooting
    M
    mongo116
    Apr 10, 2018, 2:57 PM
  • RE: Any MMM-Hive Users that can help, please?

    @Damian I didn’t make any changes to the config really, apart from adding some other settings, but these default to false if not defined.

    Could you enable debug in the config for MMM-Hive (debug: true,) and then load the magic mirror in a browser and enable developer tools (F12). In this window, ensure Console is the selected tab and then refresh the page (it’s easier to remove all other modules). When refreshed, you should then see a load of text when the hive module loads, something like the following:

    Tue, 10 Apr 2018 14:45:16 GMT MMM-Hive received notification: INSIDE - Payload: [{“id”:“xxx”,“type”:“heating”,“sortOrder”:1,“created”:1521812393853,“parent”:“xxx”,“props”:

    If you could copy / paste the text into notepad and then search for “type”

    The bit I am interested in, is the text straight after “type” - so in the above example it’s “heating”

    I am using the “type” to determine whether to pull back data for heating or hot water so if yours is named differently that is probably the issue. There might be more than one instance of “type”, so if you could let me know all.

    Hopefully it’s just that and I can then add a new setting so you can choose the name.

    Thanks

    posted in Troubleshooting
    M
    mongo116
    Apr 10, 2018, 2:53 PM
  • RE: Any MMM-Hive Users that can help, please?

    I was just testing and realised that when I was seeing the target temperature, it was when the system was in boost mode. So when not in boost mode, but the heating on, it’s not the same as previously, so it won’t show it’s heating. I need to look at how this is now working and update. You should see current temperature correctly using he updated code, but not target unless boost is on.

    posted in Troubleshooting
    M
    mongo116
    Apr 10, 2018, 5:22 AM
  • RE: Any MMM-Hive Users that can help, please?

    @Damian Hi, I’ve updated https://github.com/flick116/MMM-Hive, do you want to try it and let me know. I’ve added some test bits and bobs, but if you haven’t got the settings then these shouldn’t show up.

    posted in Troubleshooting
    M
    mongo116
    Apr 9, 2018, 7:55 PM
  • RE: Any MMM-Hive Users that can help, please?

    Looks like British Gas have just changed the way the api works, so there are changes to be made, not loads, but will take a bit of time. Got to fit it around DIY!

    posted in Troubleshooting
    M
    mongo116
    Apr 6, 2018, 8:41 PM
  • RE: Any MMM-Hive Users that can help, please?

    I have got the temperature showing now (borrowed a hive login for testing) and I am looking at now adding whether hot water is on or off, and also a battery icon for the thermstat. I cannot for the life of me remember how to use github, but I will get these changes made, tested and update the module. No telling how long I will take, but it shouldn’t take too long - just need to find some time to finish coding and tidying it up.

    Thanks

    posted in Troubleshooting
    M
    mongo116
    Apr 5, 2018, 3:26 PM
  • RE: sendSocketNotification not working

    Got this sorted - found there is another url that holds the information so added another request. The request I was having issues with was a post request, whereas the one I am using is a get.

    posted in Development
    M
    mongo116
    Apr 5, 2018, 3:23 PM
  • RE: sendSocketNotification not working

    If you look at the MMM-Hive code, what I am trying to do, is add a sendSocketNotification to the 2nd request in the node_helper.js. The second and third requests in node_helper.js are the ‘nested’ ones.

    posted in Development
    M
    mongo116
    Apr 5, 2018, 1:48 PM
  • sendSocketNotification not working

    Hi,

    Does anybody know whether you can use sendSocketNotification when using nested Request functions?

    Basically, the way the api works, is that you have to login to get a sessionID and then I have another request using that sessionID to pull back JSON data. For some reason the second requests sendSocketNotification is working fine, but the first one isn’t.

    The first request is definitely working, as the sessionID is being pulled from the response.

    I’m trying to do this so I can update the MMM-Hive module as British Gas made some changes and the module no longer works.

    posted in Development
    M
    mongo116
    Apr 5, 2018, 1:41 PM
  • RE: Any MMM-Hive Users that can help, please?

    @Damian I think I am making some headway into this issue. I will spend a bit of time when I can and hopefully get a new version out soonish

    Cheers

    posted in Troubleshooting
    M
    mongo116
    Apr 5, 2018, 8:13 AM
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 2 / 7
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy