Skip to content

Added sensor ranges and units to RDM ModelCollector - #1275

Merged
peternewman merged 3 commits into
OpenLightingProject:masterfrom
vanous:master
Jun 29, 2017
Merged

Added sensor ranges and units to RDM ModelCollector#1275
peternewman merged 3 commits into
OpenLightingProject:masterfrom
vanous:master

Conversation

@vanous

@vanous vanous commented Jun 28, 2017

Copy link
Copy Markdown

Example of collected data with these ranges in: robin_dl7s_profile@robe.txt

thank you

Petr

@peternewman peternewman self-assigned this Jun 28, 2017

@peternewman peternewman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just a few minor lint issues to fix please.

Comment thread tools/rdm/ModelCollector.py Outdated
'normal_min':data['normal_min'],
'normal_max':data['normal_max'],
'unit':data['unit'],

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you drop the blank line please.

Comment thread tools/rdm/ModelCollector.py Outdated
'description': data['name'],
'type': data['type'],
'supports_recording': data['supports_recording'],
'range_min':data['range_min'],

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can we have a space after the colon and before data please.

@peternewman peternewman added this to the 0.11.0 milestone Jun 28, 2017
@vanous

vanous commented Jun 28, 2017

Copy link
Copy Markdown
Author

Sorry about format. Fixed.

@peternewman

Copy link
Copy Markdown
Member

Retrospective review if you fancy it @nomis52 .

@peternewman
peternewman merged commit 98ee406 into OpenLightingProject:master Jun 29, 2017
@peternewman

Copy link
Copy Markdown
Member

On a side note @vanous I see you've got a lot more manufacturer specific PIDs listed in that file than we currently have:
http://rdm.openlighting.org/pid/manufacturer?manufacturer=21075

You should really add these to the system too, so people can use them to control the fixtures:
https://github.com/OpenLightingProject/rdm-app/blob/master/data/pid_data.py#L3238

peternewman added a commit to peternewman/rdm-app that referenced this pull request Jul 14, 2017
@peternewman peternewman mentioned this pull request Jul 12, 2026
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.

2 participants