Right here: payloads-uplinks, payloads-configs, payloads-commands, always fresh and up-to-date. Just use browser's Print function to print the files or export to pdf.
For FW 1.1.x use ULl20xx_1_1_x_decoder.html
Glad you asked. https://github.com/nasys/nas-codecs
Please check the first packet (boot_packet) sent after LoRaWAN join. Its from fPort 99. Use UL20xx_1_1_x_decoder.html to conveniently decode it.
Please send FE to fPort 51 to reboot. For further information, see here.
Notice: the payload lengths are typical values. Different versions of UL20xx or various Drivers have different capabilities.
DALI | Metering | Status, bytes | Status interval, h | Usage, bytes | Usage interval, h | Uplinks in month | Total data, kB |
---|---|---|---|---|---|---|---|
- | - | 12+4* | 1 | 11 | 0.5 | 2232 | 28.2 |
- | yes | 12+4 | 1 | 19 | 0.5 | 2232 | 40,1 |
yes | yes | 12+4 | 1 | 19 | 0.5 | 2232 | 40,1 |
with D4i | yes | 12+4 | 1 | 41 | 0.5 | 2232 | 72,9 |
with D4i | yes | 12+4 | 12 | 41 | 4 | 248 | 8,6 |
* Status length contains a broadcast address and dimming level if no addressed drivers are connected. if one addressed driver is connected, then the broadcast address is not sent, thus it is still +4 bytes.
All Zhaga devices and some older classic controllers don't have a metering chip. Some drivers support reporting measurements through D4i, however, which can be retrieved through the usage_packet.
Since LoRaWAN devices are made for long-range communications, having them too close to each other may actually oversaturate the channel, the signal is essentially ‘too loud’ for the gateway to understand what is being sent. You can try moving the gateway or controller into another room to decrease signal strength slightly.
If your device joins the LoRa network but the data is scrambled, it's likely due to an incorrect application key in your LoRaServer configuration.
There are many possible reasons to consider. Is there a live gateway nearby? Is the UL20xx provisioned in the LoRaWAN server? Are all keys entered correctly? You can try deleting and re-adding (re-provisioning) the UL20xx.
Once the driver joins the network it’ll fetch the current time from the network server and starts using the default factory calendar config automatically. When installation takes place during daytime, it’ll turn the light off since the default configuration settings only turn the lights on when it's dark. The status packet contains a dimming source which explains the reasons the lamp dims, turns on or off.
Your network server may not know that your UL20xx is a Class C device.
The procedure should be similar on all networks. To fix it in TTN please delete the device from TTN, do a fresh install and definitely choose LoRa 1.1 and 1.1 revision B from dropdown lists. Next please click “Show advanced activation” settings and choose "Class C continuous". Re-enter the JoinEUI/AppEUI, DevEUI, AppKey and NwkKey where necessary. If we haven't provided you with NwkKey, please use AppKey for that. Please do a power cycle to force rejoin.
While we understand the reasoning behind wanting to do so, do take into consideration that this is non-optimal and should be avoided if possible. For further information, see this question.
Choose the latest RP00x. For example, our controllers use LoRaWAN version 1.1, but this doesn't mean you should use RP001 Specification version 1.1. It might seem a bit counterintuitive (it did to us), but as an example RP002 Specification 1.0.4 is the latest version at the time of writing, which should be used.
Our devices support fallback from version 1.1 to 1.0.x. To configure device for LoRaWAN version 1.0.x use the included NwkKey in the AppKey field. If no NwkKey is on the label or provided to you via email the device is probably using LoRaWAN version 1.0.3 and therefore the AppKey is used.
TBD.
Please see clear_config_packet.
The default boot delay is 15 seconds (the device waits 0-15 seconds before the join procedure starts), this helps to reduce radio packet collisions when multiple devices are powered up simultaneously.
This interval should be increased in case of larger and denser deployments (50+ devices nearby). See boot_delay_config_packet.
Yes. See led_config_packet.
active_energy and active_power are measured at power inputs (either DALI driver or UL20xx). load_side_energy and load_side_power exclude the controller's consumption for UL20xx and DALI Bus and AUX supply consumption for DALI driver.
Yes, it is possible for larger orders. For custom requests for your order please contact sales@nasys.no for options.
By parsing the timed status_packets. When setting status_interval to e.g. 10 minutes then the indication is a maximum of 10 minutes lagging. With the firmware version starting from the 1.1.2 release the device will immediately report any change in the dimming level.
default_dim_level is active only when device does not have valid time (LoRaWAN not joined and no retained time from RTC) or there is no configuration (the UL20xx comes with default calendar which is activated as soon as a valid time becomes available).
The UL20xx is not yet timezone-aware, it uses UTC time. This means your profiles also need to be configured relative to UTC, not local time.
So if you want your profile to do something at 20:00 in e.g. GMT+1 timezone, you should configure the time for 21:00UTC.
Timezone support is planned in a future firmware release.
In most cases, this means you're attempting to use legacy packet designations, from a 1.0.x Payload Structures sheet, for example. Some packet designations were changed for the 1.1.x firmware versions, meaning you should refer to our new payload structures on this Documentation site for the new designations.
If your device has an active Lux sensor, the blue LED is disabled so the LED doesn't pollute the ambient light detected by the Lux sensor.
In some cases, queueing up many configurations may result in a sort of congestion, causing the message queue not to be sent. Using TTN (and possibly some other providers) there's an option to ‘Replace queue’ instead of the usual ‘Append to queue’. Replacing might help in some cases.
Each DALI driver must be addressed (secondary short address). Is the driver supplied? Are both DALI wires connected?
Since FW ver 1.1.9, the UL20xx addresses unaddressed single DALI driver automatically at boot. For earlier firmware versions, see the address_dali_driver command.
The lamp_failure bit is updated once every 5 minutes and only works on addressed DALI drivers.
It indicates an internal communication error with a metering chip or RTC (real-time clock). This may occur in EMI noisy environment.
Is the driver supplied through the UL20xx's relay? When all dimming sources are 0%, the relay will turn off and the DALI driver becomes unreachable.
It is part 351 compliant and D4i metering (parts 251, 252, 253) compliant.
The UL20xx functions only as a DALI master and provides DALI bus supply. UL203x senses for DALI bus voltage and provides only if needed. DALI drivers are slave.
UL202x and UL203x may have internal energy metering capability (in usage_packet its address is FF), don't confuse this with DALI energy registers.
1. Does your driver support D4i or SR registers?
2. Is your driver addressed (short address)? Our controller can address the driver.
UL20xx will continue to run pre-configured profiles/calendar etc.
The time is kept using an onboard RTC clock with a super-capacitor supply. The profile/configuration will continue immediately (before LoRaWAN joins). All configurations are persisted in a flash.
UL20xx will work as expected. At power-on, all devices start joining at the same time, so the network will be congested and many of the packets are jammed by peers.
If power cycling can not be avoided configuring boot_delay_config_packet is recommended (sets maximum random delay before the join). The default value is 15 seconds, but e.g. 10 minutes is recommended, depending on the density of the installation.
UL20xx has hardware RTC (real-time clock) running off a super-capacitor for a few days which will keep UL20xx time.
By requesting time daily from the LoRaWAN server using DeviceTimeReq request. For legacy reasons on FW 1.0.x, it is also possible to send time_config_packet, but this is discouraged.
DeviceTimeReq is sent with the first packet after joining (boot_packet) and then in 24h intervals. If RTC has retained time, the time request right after joining is postponed for 1 h.
Please double-check that the UL20xx has been provisioned to use LoRaMAC 1.0.3a or higher (earlier versions do not support DevicTimeReq). See provisioning for more details.
LoRaMAC DeviceTimeReq is using GPS Time format (from time servers), so it is not aware of local time, summer times etc. We are planning on implementing this, however.
It doesn't. EU868 region's default coordinates are set to be in the middle of Europe for the device to behave somewhat sensibly in most places out of the box. Please use calendar_config_packet to set your actual coordinates.
Please see time_config_packet.
Below is a screenshot from timeanddate.com, showing twilight times for Nice, France, with added zenith angle ranges. As is natural, the actual times and durations of the different twilight designations vary greatly based on your location and the time of year. This means the best way to set dynamic, yet reliable timings is to use zenith angles. For more information on these different types of twilights and what they represent, see this article on timeanddate.com.
If you'd like to set your lights to 25% just between civil and nautical twilight, 50% at nautical twilight and 100% at astronomical twilight, for example, you'd set the zenith angles to 93°, 96° and 102° respectively.
For regular updates see firmware dfu-guide
Update from 1.0.x to 1.1.x:
All devices running FW 1.0.x.
DALI D4i energy registers, LoRaWAN 1.1, refactored astronomical calendar and profiles, new packet structures. See more on /lcu/fw-changelog.
Firmware flashing itself takes <20 sec in most cases. Sending the device to bootloader mode, and selecting the device, firmware etc takes more time.
It depends on several factors, but mostly on whether there are other metal objects around the device. We have successfully managed to update a fleet mounted on top of 8m high steel poles from ground level.
Upgrade via LoRaWAN is not supported due to LoRaWAN's very low data bandwidth.
1.0.x has no NwkKey. In cases when you haven't been provided with NwkKey by NAS, please use AppKey for both NwkKey and AppKey.
Please contact sales@nasys.no to get the firmware file.
On some iOS devices, it is a known bug that selecting a file through nRF Toolbox might cause an error, even when the firmware selected is valid. If you're experiencing this issue, start the DFU process by navigating to the firmware file in your Files app, select Share and then choose nRF Toolbox. This will allow the nRF Toolbox app to read the DFU file.