Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This commit is contained in:
Holger Friedrich
2025-12-05 17:10:39 +01:00
committed by GitHub
parent 32d6d33e09
commit 9300da44b0
7 changed files with 17 additions and 2 deletions
@@ -51,26 +51,30 @@ Use this value as the `username` in the configuration (advanced field) with the
To obtain an access token, you can use the `requestLoginCode` and `requestAccessCode` actions available on the printer thing.
1. **Request Login Code**: Use the `requestLoginCode` action with your Bambu Lab username (email) and password. This will send a 6-digit verification code to your email address.
![Request Login Code](docs/RequestLoginCode.png)
![Request Login Code](doc/RequestLoginCode.png)
2. **Request Access Code**: Once you receive the verification code, use the `requestAccessCode` action with your Bambu Lab username (email) and the received 6-digit code. This will retrieve the access token and automatically update the printer thing's configuration with the new `accessCode` and set the `hostname` to `us.mqtt.bambulab.com`.
![Request Access Code](docs/RequestAccessCode.png)
![Request Access Code](doc/RequestAccessCode.png)
Alternatively, you can use the `bambu.sh` script as described below:
To obtain an access token, you can use the provided `bambu.sh` script. This script simplifies the process of logging in and retrieving your access token.
Make the script executable:
```shell
chmod +x bambu.sh
```
Then, run the script and follow the prompts:
```shell
./bambu.sh
```
The script will ask for your email, password, and the verification code sent to your email.
Alternatively, you can provide your credentials as command-line arguments:
```shell
./bambu.sh -e "you@email.io" -p "superduperpassword123"
```
@@ -78,6 +82,7 @@ Alternatively, you can provide your credentials as command-line arguments:
The script will output your access token, which you can then use as the `accessCode` parameter in your thing configuration.
For more options, like quiet mode for automation, use the help flag:
```shell
./bambu.sh --help
```

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

@@ -118,6 +118,7 @@ Per the Ruuvi specification, once Format E1 is detected from a device, subsequen
to ensure the device preferentially uses the newer, more comprehensive E1 format.
**PM Measurements:**
- **Format 6** provides: PM2.5
- **Format E1** provides: PM1.0, PM2.5, PM4.0, PM10.0 (all four particulate matter sizes)
@@ -28,6 +28,7 @@ TVs are auto discovered through SSDP in the local network.
The binding broadcasts a search message via UDP on the network in order to discover and monitor availability of the TV.
Please note, that if you are running openHAB in a Docker container you have several alternatives for this binding to work:
* use macvlan or host networking
* manually configure the device:
* host and access key for basic functionality
@@ -55,6 +56,7 @@ broadcast address of the network the TV is located in as `broadcastAddress`.
Example: If your TV has the IP address `192.168.0.123`, the broadcast address is `192.168.0.255`.
In addition forwarding of broadcast packets needs to be enabled:
* net.ipv4.icmp_echo_ignore_broadcasts=0
* net.ipv4.conf.all.bc_forwarding=1
* net.ipv4.conf.${interface}.bc_forwarding=1
@@ -250,6 +250,7 @@ Note: The column WPM is for WPMsystem.
| hp1-flow-rate | Number:VolumetricFlowRate | true | Heat Pump 1 current flow rate | x | x | |
#### Note
The last block can be available for up to 6 heat pumps. The number of available heat pumps shall be set with the configuration paramaeter *nrOfHps*.
### Energy Information Group
@@ -314,9 +315,11 @@ Note: The column WPM is for WPMsystem.
| hp1-cooling-runtime | Number:Time | true | Heat Pump 1 compressor runtime for cooling in total | x | x | |
#### Note
The last block can be available for up to 6 heat pumps. The number of available heat pumps shall be set with the configuration paramaeter *nrOfHps*.
### SG Ready - Energy Management Settings
The following channels are only available for the thing *Stiebel Eltron Heat Pump (WPM compatible)*
| Channel ID | Item Type | Read only | Description |
@@ -325,6 +328,7 @@ The following channels are only available for the thing *Stiebel Eltron Heat Pum
| sg-ready-input-lines | Number | false | SG Ready Input Lines |
### SG Ready - Energy Management System Information
The following channels are only available for the thing *Stiebel Eltron Heat Pump (WPM compatible)*
| Channel ID | Item Type | Read only | Description |
@@ -342,6 +346,7 @@ Thing modbus:heatpump:stiebelEltron "StiebelEltron" (modbus:tcp:bridge) @"Room"
```
#### Note
If using the notation with braces, the thing UID gets automatically a bridge label inbetween (like modbus:heatpump:bridge:stiebelEltron).
Therefore, the notation without braces is used.
@@ -216,6 +216,7 @@ Thing lux-sensor sensor_lux [ id=85, refresh=0 ] {
```
**Benefits of this approach:**
- Clear separation of concerns - each thing handles one sensor type
- Flexible configuration - only create the things you need
- Follows openHAB best practices for thing organization
@@ -238,6 +239,7 @@ The `enableWhite` parameter for color channels controls whether the white compon
- Set to `false`: RGB-only control with no white component
This is useful for:
- Pure RGB fixtures without a white channel
- Creating saturated colors without white dilution
- Specialized color effects where white would wash out the intended color