-
Notifications
You must be signed in to change notification settings - Fork 16
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
History Graphs are not shown since Eve app update #76
Comments
@simont77 Same problem here after updating to Eve App v3.8.1 |
same problem |
A far as I can tell, the history protocol itself hasn’t changed, but the Eve app is way more restrictive on what the accessory should look like, before it shows history:
To answer your question: neither, by the plugin developers. |
I’m away from my PC and with limited internet connection, so I cannot do any test. The update to Eve is a minor release and no firmware update are indicated in the change log, so I would suggest you to try to delete the history from Eve, and, if it doesn’t work, to completely reinstall Eve. |
Seems ebaauw has already investigated much more... |
Oddly, the temperature / on/off hack still works. My current hypothesis is that the Eve app wants to see the correct service and characteristic(s) for each data type in the history fingerprint. I plan to do some more rigorous testing this weekend. |
Combined sensor with temp/humidity/air quality also still working... |
I took a quick look at this yesterday (incl. the repos that are using It's a shame though Eve is so restrictive about this :/ After all it's just the maker community that's using this and it wouldn't necessarily dig into their overall sales. |
@ebaauw if you are right it should be possible to fix custom services with consumption only by changing the signature and data portion in fakegato to advertise and send only consumption (should be 0702 section of the current signature). For Energy I did not have a full dump, and it was really an hack over the Room protocol, so it may well be not properly formatted as @stefdude discovered. |
If that works, it should be possible to add a Temp-only fakegato type advertising and sending only temperature (0102 signature). Any help is appreciated as I’m away from PC for one more week, but I can accept PR. I will make a new branch fix-signature for that. |
Would temp+humidity-only also be possible? |
You can use EVE for IOS 10, until someone can find a fix. |
No, that doesn't work. I did find a hack to expose only temperature history, using the regular
Yes, using the same hack. |
Did you make some test also for the consumption-only service? |
No, not yet. |
@ebaauw, I made some test.
In this way only power is sent and expected. However Eve still needs the Outlet service to show the history. The good news is that Outlet service can be added to the accessory together with a custom Consumption service (i.e. it is not necessary to add Custom Eve characteristics to standard Outlet service), so for pure PowerMeter accessory the Outlet could be hidden in Eve, and the powermeter accessory remains visible. |
Summarizing, some adjustment are required in the plugins using fakegato:
|
Sorry, I am really struggling with the adjustments for a combined temp/humi sensor. Service.FakeGatoHistoryService = require('fakegato-history')(homebridge);
inherits(Service.FakeGatoHistoryService, Service);
Service.FakeGatoHistoryService.UUID = 'E863F007-079E-48FF-8F27-9C2605A29F52';` ...
loggingService = new Service.FakeGatoHistoryService(accessory.context.logType, accessory, { storage: 'fs', path: this.localCache, disableTimer: false });
... ...
case "weather:"
this.log.debug("Temp: %s Press: %s Humi: %s",
accessory.context.cacheCurrentTemperature,
accessory.context.cacheCurrentAirPressure,
accessory.context.cacheCurrentRelativeHumidity);
accessory.context.loggingService.addEntry({
time: moment().unix(),
temp: parseFloat(accessory.context.cacheCurrentTemperature),
pressure: parseFloat(accessory.context.cacheCurrentAirPressure),
humidity: parseFloat(accessory.context.cacheCurrentRelativeHumidity)
});
break;
... Where do I have to change the signature? |
I’m copying from ebaauw message:
You don’t need to change any signature |
You could also try to expose a Weather service with Current Temperature AND Humidity Characteristics (i.e. no pressure), and a regular Weather History service. |
That’ll show as unsupported in Apple’s Home app. |
Maybe creating a hidden pressure service is also working. |
With App version 3.8.3, the history graph is back! |
Indeed. Eve once again shows history for an accessory and single Temperature Sensor service, as well as an accessory with Temperature Sensor and Humidity Sensor_ service. The hack with the Weather service seems no longer needed. |
Okay, I guess we all had our fun and the party's over now, right? However, this is a good moment to thank everyone for your effort and most of all @simont77 for his nice piece of software 👍 |
My Eve app has been updated to v3.8.1 and no longer displays history graphs. Is this a problem to be solved by the EVE developers or by you?
The text was updated successfully, but these errors were encountered: