Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EVE doesn't show history graph. #124

Closed
banboobee opened this issue Jan 30, 2022 · 8 comments
Closed

EVE doesn't show history graph. #124

banboobee opened this issue Jan 30, 2022 · 8 comments
Assignees
Labels

Comments

@banboobee
Copy link

Hi ztalbot2000,

Thanks for your plug-in CMD4, I've been using it for more than years to monitor temperatures. Thank you very much.

But found that EVE doesn't display the history graph in these days. After struggling for a while for digging, following
changes against to V6.0.4 were needed to show the graph in EVE. It just replaces two 'this' to 'this.platform'.

If the changes are correct, its my pleasure that they'll be annotated to your code.

Thanks in advance.

diff -c Cmd4Accessory.js*

*** Cmd4Accessory.js 2022-01-16 15:09:32.489061997 +0900
--- Cmd4Accessory.js~ 2022-01-16 14:32:00.000000000 +0900


*** 1206,1212 ****
this.loggingService = new FakeGatoHistoryService
(
this.eve,
! this.platform,
{ [ constants.STORAGE ] : constants.FS,
[ constants.PATH ] : this.storagePath
}
--- 1206,1212 ----
this.loggingService = new FakeGatoHistoryService
(
this.eve,
! this,
{ [ constants.STORAGE ] : constants.FS,
[ constants.PATH ] : this.storagePath
}


*** 1218,1224 ****
this.loggingService = new FakeGatoHistoryService
(
this.eve,
! this.platform,
{ [ constants.STORAGE ] : constants.GOOGLE_DRIVE,
[ constants.FOLDER ] : this.folder,
[ constants.KEYPATH ] : this.keyPath }
--- 1218,1224 ----
this.loggingService = new FakeGatoHistoryService
(
this.eve,
! this,
{ [ constants.STORAGE ] : constants.GOOGLE_DRIVE,
[ constants.FOLDER ] : this.folder,
[ constants.KEYPATH ] : this.keyPath }

@ztalbot2000
Copy link
Owner

ztalbot2000 commented Jan 30, 2022 via email

@banboobee
Copy link
Author

Thank you for your prompt response.

I'm happy to hear that the changes are accepted.

You too, take care always.

@ztalbot2000
Copy link
Owner

ztalbot2000 commented Jan 30, 2022 via email

@ztalbot2000
Copy link
Owner

ztalbot2000 commented Jan 30, 2022 via email

@banboobee
Copy link
Author

Sorry for late response due to TZ difference.

I updated to v.6.1.0. It's working and EVE shows the history graph.

Thank you very much.

I can't understand what you mean at a glance (e.g. second parameter of FakeGatoHistoryService).
I will review your comment and reply later day.

@ztalbot2000
Copy link
Owner

ztalbot2000 commented Jan 31, 2022 via email

@banboobee
Copy link
Author

Now I understand what you mean.

Yes, '!' shouldn't be annotated. It's clearly wrong in semantically as you thought.

The diff output was in 'context format' (diff -c), and '!' at first column means that 'this line has changes'.
But blanks are removed in pasted diff output, and that makes you confused.

I'm very sorry for your inconveniences.

@ztalbot2000
Copy link
Owner

ztalbot2000 commented Jan 31, 2022 via email

ztalbot2000 added a commit that referenced this issue Feb 1, 2022
* master:
  chore: packaging for v6.1.1
  fix: bug #125 Manufacturer, serialNumber and Model not displaying in Home
  chore: v6.10 packaging
  fix: bug #124, Eve graph not being displayed
  feat: See if WoRm2 Queue can resolve large scale AirCon accessories
  fix: PROGRAM_SCHEDULED_MANUAL_MODE_ constant remove trailing underscore

# Conflicts:
#	lib/CMD4_ACC_TYPE_ENUM.js
#	package.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants