Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Not getting Sensor Readings in Pysense with FiPy Module

    Scheduled Pinned Locked Moved MicroPython
    fipyraspberry pipysensemicorpython
    79 Posts 6 Posters 27.9k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      Archana Kadam @livius
      last edited by

      @livius
      recv_pkg_len = recv_pkg[1] is this declaration correct in gateway code.

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jcaron @Archana Kadam
        last edited by

        @archana-kadam Please share the actual code you are using, no sense trying to guess what you have in your code. In the gateway code as posted in the docs, I don't think it's possible to get that error on that line with the test just before it...

        Please make sure your code is properly formatted when you post it (add ``` on a line before and after the code).

        A 2 Replies Last reply Reply Quote 0
        • A Offline
          Archana Kadam @jcaron
          last edited by Archana Kadam

          @jcaron
          I am attaching the file of gateway and node code please go through the file and please check update me as soon as possible. Your help will be appreciable.1_1522300805718_Node.py 0_1522300805717_Gateway.py

          1 Reply Last reply Reply Quote 0
          • A Offline
            Archana Kadam @jcaron
            last edited by

            @jcaron
            We tried the gateway code and node code provided in the documentation, we connected one gateway and one node. The communication between two boards has been created but we are enable to fetch the device number,package etc. So please update for this solution.

            Thank you

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              Archana Kadam @Archana Kadam
              last edited by

              @jcaron
              Please update to soon. Your help will be appreciable.

              Thank You

              1 Reply Last reply Reply Quote 0
              • A Offline
                Archana Kadam
                last edited by

                Please reply as soon as possible, waiting for your solution. Your help will be appreciable.

                Thank you

                1 Reply Last reply Reply Quote 0
                • A Offline
                  Archana Kadam
                  last edited by

                  @administrators
                  Which type of LoRa module your are using in pycom board. Can you please share us the schematic of Fipy development module.

                  Thank you

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    smbunn
                    last edited by

                    Have you had a look at my forum thread?
                    https://forum.pycom.io/topic/2908/creating-a-json-structure-for-pysense/9

                    This has me reading all PySense values, packing them into a bytearray for LoRa transmission and the unpacking them at the other end with some simple JavaScript on a Node-red environment.

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Archana Kadam
                      last edited by

                      @administrators
                      I have inserted a sim in a fipy board, now we are not able to connect to the internet of the inserted sim. Please explain the procedure to connect to inserted sim

                      Thank you

                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        jmarcelino @Archana Kadam
                        last edited by

                        @archana-kadam

                        The FiPy only supports Cat M1 and NB-IoT networks. Which one are you using?

                        A 1 Reply Last reply Reply Quote 0
                        • A Offline
                          Archana Kadam @jmarcelino
                          last edited by

                          @jmarcelino
                          Cat M1 we are using

                          J 1 Reply Last reply Reply Quote 0
                          • A Offline
                            Archana Kadam
                            last edited by Archana Kadam

                            @administrators
                            Hello,

                            We are trying to send data from fipy to sever using urequests, but getting an error. We are running code in atom.

                            import urequests
                            response = urequests.get("http://localhost/server.php?data="+msg)
                            response.close()

                            Error Message:
                            Traceback (most recent call last):
                            File "<stdin>", line 12, in <module>
                            ImportError: no module named 'urequests'

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              jmarcelino @Archana Kadam
                              last edited by jmarcelino

                              @archana-kadam
                              Which operator are you using and which country for Cat M1?

                              Also can you please split your questions into separate topics (LoRa nano-gateways issues, LTE issues, sensor reading issues,..) , it's becoming impossible to understand what is working or not for you.

                              For example is the post below about using the LTE connection or WiFi?

                              If you can ask these questions on separate topics it would be easier for us to understand and help you. Thanks.

                              A 1 Reply Last reply Reply Quote 0
                              • A Offline
                                Archana Kadam @jmarcelino
                                last edited by

                                @jmarcelino
                                We are using INDIA for Cat M1

                                Thank you

                                J 1 Reply Last reply Reply Quote 0
                                • J Offline
                                  jmarcelino @Archana Kadam
                                  last edited by

                                  @archana-kadam

                                  There is no live Cat M1 network in India. Are you working on a closed trial with a mobile operator? If so we'll need more details (carrier name, frequency, APN) to support it.

                                  A 1 Reply Last reply Reply Quote 0
                                  • A Offline
                                    Archana Kadam @jmarcelino
                                    last edited by

                                    @jmarcelino
                                    As u say there is no live Cat M1 network in India. Means we cannot use built LTE option available in fipy board from India. So what is other option to use the LTE from India.
                                    Thank you

                                    A 1 Reply Last reply Reply Quote 0
                                    • A Offline
                                      Archana Kadam @Archana Kadam
                                      last edited by

                                      @jmarcelino
                                      Hello,
                                      As u say there is no live Cat M1 network in India. Then how we can use normal LTE from fipy board. Please help us as soon as possible your help will be appreciable.

                                      Thank You

                                      J 1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        jmarcelino @Archana Kadam
                                        last edited by

                                        @archana-kadam
                                        It's not possible to use regular LTE on the FiPy, it's an LTE-M modem. You need to have LTE-M or NB-IoT from the operator.

                                        A 1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          Archana Kadam @jmarcelino
                                          last edited by

                                          @jmarcelino
                                          Is there any solution to connect LTE,Wifi and LoRa normally of fipy board.

                                          J 1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            jmarcelino @Archana Kadam
                                            last edited by

                                            @archana-kadam

                                            Normal LTE no.. unless you use a WiFi-LTE router (MiFi) or external LTE modem.

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • First post
                                              Last post

                                            Pycom on Twitter

                                            Pycom