Open BlueForrest opened 7 years ago
Hello Johan,
Thanks for trying out the MMM-YouLess module; too bad it's not working for you right now. I will look into the issue you're experiencing and will get back to you if I've found the solution!
Johan,
The module is still under development and I didn't have the spare time recently to pick it back up. I hope to come back to it soon to get it working exactly as it should. That being said, there are a couple of work arounds to get the module running on your MM. The only thing that doesn't work properly at the moment is the refreshing of the gauge when new data gets pushed over the socket. The module will fade out and back in - this was what I was working on when I left off....
$ rm -rf jsGauge
$ git clone git@github.com:QNimbus/jsGauge.git
$ mv jsgauge.js jsGauge.js
$ npm install --save gulp gulp-minify
npm run install
Also make sure you add the MMM-YouLess module to the MagicMirror config file in 'config/config.js' and make sure you also add the position where you want to show the module. (e.g. top_right)
If you do this, it should work for you - however the module is not completely production-ready. I hope to get back to this soon, but I'm lacking the spare time at the moment unfortunately.
Hi Bas,
Sorry for the delay, but I was on business trip.
I have tried to follow you instructions but when it comes to clone the jsGauge.git I get following message in the terminal:
Cloning into 'jsGauge'... The authenticity of host 'github.com (192.30.253.113)' can't be established. RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'github.com,192.30.253.113' (RSA) to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
thanks for your support.
Regards, Johan (i'm from Belgium)
2017-10-31 10:01 GMT+01:00 Bas notifications@github.com:
Johan,
The module is still under development and I didn't have the spare time recently to pick it back up. I hope to come back to it soon to get it working exactly as it should. That being said, there are a couple of work around to get the module running on your MM. The only thing that doesn't work properly at the moment is the refreshing of the gauge when new data gets pushed over the socket. The module will fade out and back in - this was what I was working on when I left off....
- Go to the 'MagicMirror' folder and completely remove the 'jsGauge' subfolder. $ rm -rf jsGauge
- Pull the latest jsGauge commit from github from within the 'MagicMirror' folder $ git clone git@github.com:QNimbus/jsGauge.git
- Go into the 'jsGauge/lib' folder and rename 'jsgauge.js' to 'jsGauge.js' $ mv jsgauge.js jsGauge.js
- Run the following commands in the jsGauge folder: $ npm install --save gulp gulp-minify
- Now run the original install command in the MMM-YouLess folder: npm run install
Also make sure you add the MMM-YouLess module to the MagicMirror config file in 'config/config.js' and make sure you also add the position where you want to show the module. (e.g. top_right)
If you do this, it should work for you - however the module is not completely production-ready. I hope to get back to this soon, but I'm lacking the spare time at the moment unfortunately.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/QNimbus/MMM-YouLess/issues/1#issuecomment-340700297, or mute the thread https://github.com/notifications/unsubscribe-auth/AfsopL_aEIUM4WYgmzY43TOwRjYdwp3Dks5sxuHpgaJpZM4QL7xb .
Hi Bas, today new trial to install this module, but I can't get it up and running. Still same messages as above mentioned. Your solution to Pull the latest jsGauge commit from github from within the 'MagicMirror/modules/MMM-YouLess' folder $ git clone git@github.com:QNimbus/jsGauge.git, is not working. I'm getting messages that i'm not authorised.
And there is no data in folder jsGauge. Any idea when you could fix that?
I've got it working now, you can clone that jsGauge repository by referring to the https link:
git clone https://github.com/QNimbus/jsGauge.git
Also the command to install is npm install
not npm run install
.
However, it seems there is a problem with jsGauge in that the gauge fills up from 0 every time an update is pushed through. So it's functional but buggy.
Hi, Thanks for the fix, now I could install jsGauge without problems. added following to my config file, but the mirror doesn't show anything.
{ module: 'MMM-YouLess', position: 'top_center', // Only add a position if you want this module to display the data config: { // See below for configurable options youlessHost: "192.168.1.199", // or youless.home.network.nl updateInterval: 5000, } },
Do I miss something?
Regards, Johan
Op ma 8 okt. 2018 om 23:33 schreef Floris Porro notifications@github.com:
I've got it working now, you can clone that jsGauge repository by referring to the https link: git clone https://github.com/QNimbus/jsGauge.git
Also the command to install is npm install not npm run install.
However, it seems there is a problem with jsGauge in that the gauge fills up from 0 every time an update is pushed through. So it's functional but buggy.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/QNimbus/MMM-YouLess/issues/1#issuecomment-427986115, or mute the thread https://github.com/notifications/unsubscribe-auth/AfsopLeu69EYOLCod7YWdyu4jqWdwzbgks5ui8SQgaJpZM4QL7xb .
I think you have that right. Can you pull information from your YouLess device by visiting http://192.168.1.199/a?f=j?
Yes, i can perfectly see the data when browsing to that address see picture
Op di 9 okt. 2018 22:46 schreef Floris Porro notifications@github.com:
I think you have that right. Can you pull information from your YouLess device by visiting http://192.168.1.199/a?f=j?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/QNimbus/MMM-YouLess/issues/1#issuecomment-428345378, or mute the thread https://github.com/notifications/unsubscribe-auth/AfsopLfnCfFwsJX8RseODB3hJkyv3sZ6ks5ujQskgaJpZM4QL7xb .
Hi, i have build a Fork of your module. It´s my first one. I have replaced the jsGauge and optimized the reload effect. You can find my fork here: https://github.com/eckonator/MMM-YouLess2
Maybe it helps someone :)
@eckonator Thanks for taking the time and effort to fix the outstanding issues with my module; sorry that I have not been able to pick up on these issues any sooner. I've been quite busy and since I do not own a 'YouLess' device anymore it wasn't high on my priorities list.
Having said that, I would like to add support (in addition to YouLess) for MQTT messages. (So that I can make the gauge work with DSMR reader for example).
If you want, you can send me a pull request for your changes and I will merge them into the master branch. From there on I can add support for MQTT as well so that this module becomes useful for a larger audience.
Again, thanks for your help!
Markus, thanks for updating the module. I will try-out during the weekend and give some feedback.
With the help of Bas i've got it more or less working but when I switched to another page on my mirror and returned back, the data was not updated anymore. I'll hope your modification will fix that.
For both, i'm willing to help with testing.
My youless has the latest fimware. is used for solar panels and regular electricity consumption. (Solar Data is monitored through Youless on the PVoutput website) Would be great the see the 2 values monitored.
With regards, Johan.
Op do 20 dec. 2018 om 12:44 schreef Bas notifications@github.com:
@eckonator https://github.com/eckonator Thanks for taking the time and effort to fix the outstanding issues with my module; sorry that I have not been able to pick up on these issues any sooner. I've been quite busy and since I do not own a 'YouLess' device anymore it wasn't high on my priorities list.
Having said that, I would like to add support (in addition to YouLess) for MQTT messages. (So that I can make the gauge work with DSMR reader for example).
If you want, you can send me a pull request for your changes and I will merge them into the master branch. From there on I can add support for MQTT as well so that this module becomes useful for a larger audience.
Again, thanks for your help!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/QNimbus/MMM-YouLess/issues/1#issuecomment-448970255, or mute the thread https://github.com/notifications/unsubscribe-auth/AfsopGql0to11luAV7HIXuueaQp_f5fAks5u63gwgaJpZM4QL7xb .
Hello @BlueForrest, I had never tested my version with multiple instances before, so I made some adjustments today, so it should be possible in theory.
Today my server is unfortunately offline - for whatever reason - so I moved my repo to GitHub.
@QNimbus, many thanks for your preliminary work. Without you I probably wouldn't have created my custom module. It is not perfect, but ok for my needs. The current problem is that only the number is animated, but not the bar of the gauge - it jumps. But at least based on the last value that was displayed.
Have fun with it.
Hi Bas Have installed the Youless module, but i'm getting an error with installation of the dependency jsGauge when Mirro is started in dev mode i see this error. "Error on loading script: modules/MMM-YouLEss/jsGauge/lib/jsGauge.js" indeed when I look in the directory, jsGauge, this is empty - no script.
After install, I ran "$ cd MMM-YouLess && npm install --only=production. but when doing this, it gives me following:
mmm-youless@0.1.1 postinstall /home/pi/MagicMirror/modules/MMM-YouLess cd jsGauge && npm install && npm run minify
this message keeps repeadingly running - so after getting 30 times or more this message I’ll stopped. can you take a look at the installation procedure (please).
I purchased the youless to get my energy consumption on the mirror, but now i'm a bit dissapointed it doesn't seem to work. I'm not a programmer, so I can't fix this. Hope you can help
thank you Johan