- plcnext
- mqtt
- telegram
- nats
/etc folder of the ppl-base repository and is listed as config.json.
plcnext
Required Parameters
This is the IP address of the controller. It should always be configured to the controller’s current IP address, as it is used to create sockets.Example:
192.168.1.10Optional Parameters
Though these parameters are not required for the controller to operate, it is good practice to include them in the configuration file to avoid losing track of login credentials.The username for logging into the WBM of the controller or a shell session. This should be set to
admin.Example: adminThe password for logging into the WBM of the controller or a shell session.Example:
passwordmqtt
Required Parameters
This entry contains all relevant information for the MQTT broker.Example:
telegram
Telegram is preconfigured in the config file to enable notifications and alerts. These include livebit messages every 24 hours and alerts for critical device failures in the system. If the customer does not wish to receive updates via Telegram, they simply need to remove this entry from the config file.Required Parameters
Represents the unique chat ID of the Telegram channel. Each Telegram channel has its own unique ID.Example:
123456789A token consisting of letters and numbers, required for authorizing the bot and sending requests to the Bot API. The Bot API is already added to the Telegram channel.Example:
123456789:ABCDEFGHIJKLMNOPQRSTUVWXYZnats
Required Parameters
The required parameters are used to set up a local NATS server on the controller. This NATS server is used to integrate with custom applications developed by the customer.The required parameters are used to set up a local NATS server on the controller. This NATS server is used to integrate with custom applications developed by the customer.Example:
Optional Parameters
The optional parameters are used for setting up a NATS connection to the cloud, which hosts a database for storing data. By providing these parameters, the controller can periodically push data to the cloud.The optional parameters are used for setting up a NATS connection to the cloud, which hosts a database for storing data. By providing these parameters, the controller can periodically push data to the cloud.Example: