Signals are for ill-defined measurements. Unit groups exist for two reasons:
1. To pick an appropriate unit for a type of measurement. For example, ºC for temperatures. 2. To pick an appropriate format and label. Signals don't fit neatly into these reasons. They don't take a unit, and it's not obvious what format and what label they should use. So, they were left out of units.py and defaults.py. You can use the signal types without adding them to a unit group. You just won't be able to convert them to a different unit (which they don't have anyway), and there will be no automatic formatting and labelling. If you need a format, use a .format() suffix. If you need a format, just add it on. For example: *$current.signal1.format("%d") widgets* Alternatively, if your signal is actually some kind of counter, you could assign them to group_count. Then they would use "%d" for the format, and an empty string for the label. On Fri, Sep 22, 2023 at 3:22 PM Craig Young <craig.young...@gmail.com> wrote: > In the wview_extended.py schema there is a group of types for signals > (signal1, signal2, .. signal8) and stored in the DB as reals. I looked in > units.py but did not see signals listed. > > On Saturday, September 23, 2023 at 9:40:17 AM UTC+12 Craig Young wrote: > >> What units group do the observation type Signals fall under? Or, if I >> use a signal do I need to update a configuration file to place it into a >> units group. >> > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to weewx-user+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/b9fa5024-38c9-4d95-8e4b-5c9bb4f0ddb8n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/b9fa5024-38c9-4d95-8e4b-5c9bb4f0ddb8n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEDd4vBf%2BHBzUwdUY8dWEPQNfDEJVMLU0nVMhfq%2BUTub9g%40mail.gmail.com.