This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bridge mqtt:broker:myInsecureBroker [ host="192.168.0.42", secure=false ] | |
Thing mqtt:topic:mything "mything" (mqtt:broker:myInsecureBroker) { | |
Channels: | |
Type switch : lamp "Kitchen Lamp" [ stateTopic="lamp/enabled", commandTopic="lamp/enabled/set" ] | |
Type switch : fancylamp "Fancy Lamp" [ stateTopic="fancy/lamp/state", commandTopic="fancy/lamp/command", on="i-am-on", off="i-am-off" ] | |
Type string : alarmpanel "Alarm system" [ stateTopic="alarm/panel/state", commandTopic="alarm/panel/set", allowedStates="ARMED_HOME,ARMED_AWAY,UNARMED" ] | |
Type color : lampcolor "Kitchen Lamp color" [ stateTopic="lamp/color", commandTopic="lamp/color/set", colorMode="RGB" ] | |
Type dimmer : blind "Blind" [ stateTopic="blind/state", commandTopic="blind/set", min=0, max=5, step=1 ] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Things> | |
<things> | |
<things> | |
<kind>Thing</kind> | |
<UID>mqtt:topic:mything</UID> | |
<bridgeUID>mqtt:broker:myInsecureBroker</bridgeUID> | |
<label>mything</label> | |
<channels> | |
<id>lamp</id> | |
<type>switch</type> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
things: | |
- kind: Bridge | |
thingTypeUID: mqtt:broker | |
id: myInsecureBroker | |
configuration: | |
host: "192.168.0.42" | |
secure: false | |
- kind: Thing | |
UID: mqtt:topic:mything |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2023-01-26T23:43:08.711Z INFO 1 --- [ault-executor-0] o.o.m.grpc.twin.AbstractTwinPublisher : Registered a session with key SessionKey{location='Default'} | |
2023-01-26T23:43:08.712Z INFO 1 --- [ault-executor-0] o.o.m.grpc.twin.AbstractTwinPublisher : Published an object update for the session with key SessionKey{location='Default'} | |
2023-01-26T23:43:11.879Z INFO 1 --- [ault-executor-0] o.o.m.grpc.twin.AbstractTwinPublisher : Registered a session with key SessionKey{location='Default1'} | |
2023-01-26T23:43:11.879Z INFO 1 --- [ault-executor-0] o.o.m.grpc.twin.AbstractTwinPublisher : Published an object update for the session with key SessionKey{location='Default1'} | |
2023-01-26T23:43:14.384Z INFO 1 --- [ault-executor-0] o.o.m.grpc.twin.AbstractTwinPublisher : Registered a session with key SessionKey{location='Default2'} | |
2023-01-26T23:43:14.384Z INFO 1 --- [ault-executor-0] o.o.m.grpc.twin.AbstractTwinPublisher : Published an object update for the session with key SessionKey{location='Default2'} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you ever come to that point - official power query docs are not very clear | |
# on how to append custom headers or query options, here is how | |
= OData.Feed("https://....", null, [ | |
Implementation="2.0", | |
Headers=[#"X-API-Token"="xyz",#"X-xyz"="zyx"], | |
Query=[#"timeZone"="UTC",#"another"="abc"] | |
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.plc4x.java.PlcDriverManager; | |
import org.apache.plc4x.java.api.PlcConnection; | |
import org.apache.plc4x.java.api.messages.PlcSubscriptionEvent; | |
import org.apache.plc4x.java.utils.rawsockets.netty.RawSocketChannel; | |
import java.util.concurrent.TimeUnit; | |
import java.util.function.Consumer; | |
// Very simple example showing how to request profinet-dcp identification. | |
// Answers in line 23 are returned as PlcStruct (which is a map), for example: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String PRO380_ModbusId "Pro 380 Modbus id" { channel="modbus:data:pro380:metadata:serialNumber:number" } | |
Number PRO380_Voltage_L1 "Pro 380 L1 Voltage [%.2f]" { channel="modbus:data:pro380:voltage:L1:number" } | |
Number PRO380_Voltage_L2 "Pro 380 L2 Voltage [%.2f]" { channel="modbus:data:pro380:voltage:L2:number" } | |
Number PRO380_Voltage_L3 "Pro 380 L3 Voltage [%.2f]" { channel="modbus:data:pro380:voltage:L3:number" } | |
Number PRO380_Current_L1 "Pro 380 L1 Current [%.2f]" { channel="modbus:data:pro380:current:L1:number" } | |
Number PRO380_Current_L2 "Pro 380 L2 Current [%.2f]" { channel="modbus:data:pro380:current:L2:number" } | |
Number PRO380_Current_L3 "Pro 380 L3 Current [%.2f]" { channel="modbus:data:pro380:current:L3:number" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.openapitools</groupId> | |
<artifactId>openapi-generator-maven-plugin</artifactId> | |
<version>4.3.0</version> | |
<executions> | |
<execution> | |
<goals> | |
<goal>generate</goal> | |
</goals> |
We can't make this file beautiful and searchable because it's too large.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Type,Tag,Parent,Label,Synonyms,Description | |
Location,Location,,,Location, | |
Location,Storey,Location,,Storey, | |
Location,Space,Location,,Space,"A part of the physical world or a virtual world whose 3D spatial extent is bounded actually or theoretically, and provides for certain functions within the zone it is contained in." | |
Location,Room,Space,,Room,"Base class for all more specific room types." | |
Location,Laboratory,Room,,Laboratory,"facility acceptable to the local, national, or international recognized authority having jurisdiction and which provides uniform testing and examination procedures and standards for meeting design, manufacturing, and factory testing requirements." | |
Location,Hot Box,,,Hot Box,"hot air chamber forming part of an air handler." | |
Location,Freezer,Laboratory,,Freezer,"cold chamber usually kept at a temperature of 22°F to 31°F (–5°C to –1°C), with high-volume air circulation." | |
Location,Environment Box,,,Environment Box,"(also known as climatic chamber), enclosed space designed to create a parti |
NewerOlder