photonMasterRemote | photon Master Alarm with multiple photon Remote

 by   dont45 C++ Version: Current License: GPL-3.0

kandi X-RAY | photonMasterRemote Summary

kandi X-RAY | photonMasterRemote Summary

photonMasterRemote is a C++ library typically used in Internet of Things (IoT), Nodejs, Arduino applications. photonMasterRemote has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

A photon Master Alarm system with any number of optional photon Remote nodes. See Wiki for lots more detail. Common source generates a master alarm node or a remote node. The master node is created by the #define PHOTON_MASTER line in parms.h. A remote node is created by commenting out the master node #define , i.e. //#define PHOTON_MASTER which will result in a #define PHOTON_REMOTE In addition, you must inclue the line #define REMOTE_SYSTEM_ID 1 The id number must be 1 or greater. The id of the master node must be 0. The master my have any number of it's own sensors defined in writeTestConfiguration. The master's representation of a remote sensor is defined with device.use set to SUB_REMOTE_THERMOMETER or SUB_REMOTE_SENSOR. The actual sensor is defined in the remote with master_idx set to the index number in the master which represents the remote sensor. Communication of the remote sensor status is done via a particle.publish string which represents the state of all of the remote sensors, such as: 3@1@T@13:12:16@TEST DOOR:2:0.000000:3@OUTSIDE TEMP:3:89.937500:0$ The @ character separates the first four data fields (sequence,remote id, alert type, and time). Data for each sensor follows, also separated by an @ character. These fields are parsed by the class Parse. Each sensor's data fields are separated by a : character. They are Name,device index in master, and sensor reading. These data fields are also parsed by class Parse. The remote node publishes 'remoteData' to the particle cloud, and the master node is subscribed to this cloud data field. The remote node performs a publish immediately upon any sensor being tripped, and also periodically as an Information update on a specified schedule, set in parms.h. This allows for immediate response to an alarm condition and periodic read on the master node of other less time-sensitive data such as a temperature probe. Upon receipt of the subscribed remoteData, the master device is update with the new sensor data, stored into the device record as dev_reading, and the current time is stored into dev_last_read. In my operational test system, the hardware for both master and remote can be identical, except for the attached sensors. The remote node may also be of any custom design, as required. It only needs to publish a properly formatted data string as 'remoteData'.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              photonMasterRemote has a low active ecosystem.
              It has 2 star(s) with 0 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              photonMasterRemote has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of photonMasterRemote is current.

            kandi-Quality Quality

              photonMasterRemote has no bugs reported.

            kandi-Security Security

              photonMasterRemote has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              photonMasterRemote is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              photonMasterRemote releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of photonMasterRemote
            Get all kandi verified functions for this library.

            photonMasterRemote Key Features

            No Key Features are available at this moment for photonMasterRemote.

            photonMasterRemote Examples and Code Snippets

            No Code Snippets are available at this moment for photonMasterRemote.

            Community Discussions

            Trending Discussions on Internet of Things (IoT)

            QUESTION

            Display data from two json files in react native
            Asked 2020-May-17 at 23:55

            I have js files Dashboard and Adverts. I managed to get Dashboard to list the information in one json file (advertisers), but when clicking on an advertiser I want it to navigate to a separate page that will display some data (Say title and text) from the second json file (productadverts). I can't get it to work. Below is the code for the Dashboard and next for Adverts. Then the json files

            ...

            ANSWER

            Answered 2020-May-17 at 23:55

            The new object to get params in React Navigation 5 is:

            Source https://stackoverflow.com/questions/61859411

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install photonMasterRemote

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/dont45/photonMasterRemote.git

          • CLI

            gh repo clone dont45/photonMasterRemote

          • sshUrl

            git@github.com:dont45/photonMasterRemote.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link