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

Influxdb2: update docu and web interface #852

Merged
merged 3 commits into from
Nov 3, 2023

Conversation

onkelandy
Copy link
Member

No description provided.

{% endblock bodytab1 %}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warum hast Du die Blöcke für die noch kommenden Tabs entfernt (Das Plugin ist als noch in develop gekennzeichnet)? Um sie nicht anzuzeigen hätte es gereicht den Tabcount auf 1 zu setzen (was Du ja auch gemacht hast).

@msinn msinn merged commit 3ee29c1 into smarthomeNG:develop Nov 3, 2023
@gruberth
Copy link
Contributor

gruberth commented Nov 4, 2023

Aaah its already merged...
... But @msinn should we drop the empty poll function and the scheduler entry from the plugin? In my opinion its not needed at all.

def poll_device(self):
"""
Polls for updates of the device
This method is only needed, if the device (hardware/interface) does not propagate
changes on it's own, but has to be polled to get the actual status.
It is called by the scheduler which is set within run() method.
"""
# # get the value from the device
# device_value = ...
#
# # find the item(s) to update:
# for item in self.sh.find_items('...'):
#
# # update the item by calling item(value, caller, source=None, dest=None)
# # - value and caller must be specified, source and dest are optional
# #
# # The simple case:
# item(device_value, self.get_shortname())
# # if the plugin is a gateway plugin which may receive updates from several external sources,
# # the source should be included when updating the the value:
# item(device_value, self.get_shortname(), source=device_source_id)
pass

@onkelandy onkelandy deleted the influxdb2 branch December 29, 2023 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants