action smart_me_smart_me_device_configuration_post { label: "Sets the configuration of a smart-me device. The device needs to be online." provider: smart_me method: POST path: "/api/SmartMeDeviceConfiguration" encoding: form input: { type: "object" description: "API Container class for the meter configuration" properties: { DeviceEncryptionKey: { type: "string" description: "The encryption key used to decrypt messages received from an external meter (used only for the smart-me modules)" } DevicePinCode: { type: "string" description: "PIN code to enter on a external meter (e.g. for the FNN meters)" } DnsUpdateState: { type: "string" description: "Configuration of the dynamic DNS service. More information: http://wiki.smart-me.com/index.php/Dynamisches_DNS" enum: ["NoUpdate", "DnsUpdatePublicIp", "DnsUpdateInternalIp"] } EnableModbusTcp: { type: "boolean" description: "Enables or disables Modbus TCP (if the meter supports it)." } Id: { type: "string" description: "The ID of the device" } InputConfiguration: { type: "array" description: "The configuration for the intput outputs" items: { type: "object" description: "Configuration for the input of a meter (digital inputs)" properties: { Name: { type: "string" description: "The Name of the Input" } Number: { type: "integer" format: "int32" description: "The number of the Input. (1 for Input 1)" } OffText: { type: "string" description: "The visualization text for an OFF action" } OnText: { type: "string" description: "The visualization text for an ON action" } Type: { type: "string" description: "The Type of the output" enum: ["TariffInput", "DigitalInput"] } } } } OutputConfiguration: { type: "array" description: "The configuration for the external outputs" items: { type: "object" description: "Configuration for the outputs of a meter (analog/digital outputs)" properties: { DigitalOutputNoConnectionAction: { type: "string" description: "The Action when the device has lost the connection" enum: ["Nothing", "TurnOff", "TurnOn", "SetPwmValue"] } Name: { type: "string" description: "The Name of the Output" } Number: { type: "integer" format: "int32" description: "The number of the Output. (1 for Output 1, 2 for Output 2)" } S0PulseValue: { type: "string" description: "The S0 Pulse Value" enum: ["PulseValue1000Kwh", "PulseValue10000Kwh"] } Type: { type: "string" description: "The Type of the output" enum: ["ImpulseOutputActiveEnergy", "ImpulseOutputActiveEnergyImport", "ImpulseOutputActiveEnergyExport", "ImpulseOutputReactiveEnergy", "DigitalOutput", "AnalogPwmSignalOutput", "Disabled"] } } } } ShowReactiveEnergy: { type: "boolean" description: "Shows the reactive energy values (if the meter supports it)." } SwitchConfiguration: { type: "array" description: "The configuration for the phase switches" items: { type: "object" description: "The configuration for a phase switch" properties: { CanSwitchOff: { type: "boolean" description: "Flag if the switch can be turned off or is always on." } Number: { type: "integer" format: "int32" description: "The number of the phase. (e.g. 1 for Phase L1)" } } } } UploadInterval: { type: "string" description: "Number of seconds the device will upload the data. For smaller values maybe a professional license is needed." enum: ["UploadInterval_1s", "UploadInterval_5s", "UploadInterval_10s", "UploadInterval_30s", "UploadInterval_60s", "UploadInterval_5min", "UploadInterval_15min", "UploadInterval_30min", "UploadInterval_60min", "UploadInterval_6h", "UploadInterval_12h", "UploadInterval_24h"] } } } output: { type: "object" additionalProperties: true } }