{"action":"created","issue":{"url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/564","repository_url":"https://api.github.com/repos/letscontrolit/ESPEasy","labels_url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/564/labels{/name}","comments_url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/564/comments","events_url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/564/events","html_url":"https://github.com/letscontrolit/ESPEasy/issues/564","id":268680986,"number":564,"title":"Feature request: Add \"battery\" parameter for Domoticz HTTP/MQTT controllers","user":{"login":"choxnox","id":1287099,"avatar_url":"https://avatars2.githubusercontent.com/u/1287099?v=4","gravatar_id":"","url":"https://api.github.com/users/choxnox","html_url":"https://github.com/choxnox","followers_url":"https://api.github.com/users/choxnox/followers","following_url":"https://api.github.com/users/choxnox/following{/other_user}","gists_url":"https://api.github.com/users/choxnox/gists{/gist_id}","starred_url":"https://api.github.com/users/choxnox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choxnox/subscriptions","organizations_url":"https://api.github.com/users/choxnox/orgs","repos_url":"https://api.github.com/users/choxnox/repos","events_url":"https://api.github.com/users/choxnox/events{/privacy}","received_events_url":"https://api.github.com/users/choxnox/received_events","type":"User","site_admin":false},"labels":[{"id":587074027,"url":"https://api.github.com/repos/letscontrolit/ESPEasy/labels/Category:%20Controller","name":"Category: Controller","color":"5319e7","default":false},{"id":855596496,"url":"https://api.github.com/repos/letscontrolit/ESPEasy/labels/Category:%20Energy","name":"Category: Energy","color":"5319e7","default":false},{"id":257820027,"url":"https://api.github.com/repos/letscontrolit/ESPEasy/labels/Status:%20In%20Progress","name":"Status: In Progress","color":"c2e0c6","default":false},{"id":257820025,"url":"https://api.github.com/repos/letscontrolit/ESPEasy/labels/Type:%20Enhancement","name":"Type: Enhancement","color":"84b6eb","default":false},{"id":854297562,"url":"https://api.github.com/repos/letscontrolit/ESPEasy/labels/Type:%20Feature%20Request","name":"Type: Feature Request","color":"35e8e2","default":false}],"state":"open","locked":false,"assignee":{"login":"TD-er","id":3751318,"avatar_url":"https://avatars3.githubusercontent.com/u/3751318?v=4","gravatar_id":"","url":"https://api.github.com/users/TD-er","html_url":"https://github.com/TD-er","followers_url":"https://api.github.com/users/TD-er/followers","following_url":"https://api.github.com/users/TD-er/following{/other_user}","gists_url":"https://api.github.com/users/TD-er/gists{/gist_id}","starred_url":"https://api.github.com/users/TD-er/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TD-er/subscriptions","organizations_url":"https://api.github.com/users/TD-er/orgs","repos_url":"https://api.github.com/users/TD-er/repos","events_url":"https://api.github.com/users/TD-er/events{/privacy}","received_events_url":"https://api.github.com/users/TD-er/received_events","type":"User","site_admin":false},"assignees":[{"login":"TD-er","id":3751318,"avatar_url":"https://avatars3.githubusercontent.com/u/3751318?v=4","gravatar_id":"","url":"https://api.github.com/users/TD-er","html_url":"https://github.com/TD-er","followers_url":"https://api.github.com/users/TD-er/followers","following_url":"https://api.github.com/users/TD-er/following{/other_user}","gists_url":"https://api.github.com/users/TD-er/gists{/gist_id}","starred_url":"https://api.github.com/users/TD-er/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TD-er/subscriptions","organizations_url":"https://api.github.com/users/TD-er/orgs","repos_url":"https://api.github.com/users/TD-er/repos","events_url":"https://api.github.com/users/TD-er/events{/privacy}","received_events_url":"https://api.github.com/users/TD-er/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/letscontrolit/ESPEasy/milestones/2","html_url":"https://github.com/letscontrolit/ESPEasy/milestone/2","labels_url":"https://api.github.com/repos/letscontrolit/ESPEasy/milestones/2/labels","id":2588720,"number":2,"title":"2.1.0","description":"Milestones for the next big version. Keep in mind this is still a moving target: We're adding a lot of stuff to it, but if its too much we might bump some features to the next big version. So this is no guarantee a features makes it in the new version.\r\n\r\nIt does help to leave comments or vote comments up, so we can see how populair a issue or new feature is.","creator":{"login":"mvdbro","id":11584787,"avatar_url":"https://avatars2.githubusercontent.com/u/11584787?v=4","gravatar_id":"","url":"https://api.github.com/users/mvdbro","html_url":"https://github.com/mvdbro","followers_url":"https://api.github.com/users/mvdbro/followers","following_url":"https://api.github.com/users/mvdbro/following{/other_user}","gists_url":"https://api.github.com/users/mvdbro/gists{/gist_id}","starred_url":"https://api.github.com/users/mvdbro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvdbro/subscriptions","organizations_url":"https://api.github.com/users/mvdbro/orgs","repos_url":"https://api.github.com/users/mvdbro/repos","events_url":"https://api.github.com/users/mvdbro/events{/privacy}","received_events_url":"https://api.github.com/users/mvdbro/received_events","type":"User","site_admin":false},"open_issues":73,"closed_issues":46,"state":"open","created_at":"2017-06-17T14:50:52Z","updated_at":"2018-03-12T07:53:56Z","due_on":null,"closed_at":null},"comments":31,"created_at":"2017-10-26T09:03:39Z","updated_at":"2018-03-12T14:25:02Z","closed_at":null,"author_association":"NONE","body":"Domoticz supports battery level indicator which is useful for battery-powered applications such as weather stations or sensors in general. To make battery level report work, all that needs to be done is passing \"battery\" parameter to Domoticz controller indicating battery level in %.\r\n\r\nUnfortunately, ESPEasy v2.0 in it's current state generates Domoticz-friendly HTTP request in such way that parameters passed are hardcoded. This means there is no option to pass custom parameters to Domoticz whose values would be sourced from values got from connected hardware.\r\n\r\nFor example, I've several weather stations made using Wemos D1 mini Pro + Wemos SHT30 shield + Wemos battery shield which can very easily read battery voltage using A0 input. Maybe the easiest solution is to modify Analog plugin to add additional checkbox field simply stating whether this analog device is battery indicator or not, and then to take this devices's value into consideration when generating Domoticz HTTP URLs.\r\n\r\nAny other thoughts or ideas about this?"},"comment":{"url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/comments/372327391","html_url":"https://github.com/letscontrolit/ESPEasy/issues/564#issuecomment-372327391","issue_url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/564","id":372327391,"user":{"login":"jannnfe","id":30130742,"avatar_url":"https://avatars3.githubusercontent.com/u/30130742?v=4","gravatar_id":"","url":"https://api.github.com/users/jannnfe","html_url":"https://github.com/jannnfe","followers_url":"https://api.github.com/users/jannnfe/followers","following_url":"https://api.github.com/users/jannnfe/following{/other_user}","gists_url":"https://api.github.com/users/jannnfe/gists{/gist_id}","starred_url":"https://api.github.com/users/jannnfe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jannnfe/subscriptions","organizations_url":"https://api.github.com/users/jannnfe/orgs","repos_url":"https://api.github.com/users/jannnfe/repos","events_url":"https://api.github.com/users/jannnfe/events{/privacy}","received_events_url":"https://api.github.com/users/jannnfe/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T14:25:02Z","updated_at":"2018-03-12T14:25:02Z","author_association":"NONE","body":"Here is a current workaround for the latest version of ESPEasy?\r\nThe code seems to have changed?\r\nI would be very happy if I could send my battery in percent to Domoticz.\r\nhttp://www.letscontrolit.com/forum/viewtopic.php?f=4&t=1621&p=7317&hilit=battery+status#p7317"}}
{"actor":{"display_login":"jannnfe"}}