GithubHelp home page GithubHelp logo

dabamos / openadms-node Goto Github PK

View Code? Open in Web Editor NEW
11.0 7.0 4.0 4.08 MB

Automatic deformation monitoring system for geodetical and geotechnical control measurements in the Internet of Things.

Home Page: https://www.dabamos.de/

License: BSD 2-Clause "Simplified" License

Python 95.84% Batchfile 0.06% HTML 2.68% Shell 1.13% Awk 0.08% Gnuplot 0.21%
monitoring python mqtt geodesy surveying sensors engineering iot

openadms-node's People

Contributors

interkosmos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

openadms-node's Issues

Missing comma in totalstation.py

Hi again, in totalstation.py, there is a comma missing in line 1120, which prevents the SerialMeasurementProcessor from working.
response_sets['slopeDist'] = Obs.create_response_set('float' 'm', dist)

Thanks

mqtt - Unexpected disconnection from 192.168.31.144:5432

I have configured PostgreSQL, but openadms node always fails to upload IP address data in LAN;

2020-08-28T14:24:25 - ERROR - mqtt - Unexpected disconnection from 192.168.31.144:5432
2020-08-28T14:24:25 - INFO - mqtt - Reconnecting to 192.168.31.144:5432 ...
2020-08-28T14:24:27 - INFO - job - Starting job "getValues" for port "com1" ...
2020-08-28T14:24:27 - ERROR - mqtt - Publishing message failed: no connection

Timeout on port "/dev/ttyACM1" after 1.0 s

It runs normally, but there will always be "timeout" occasionally, resulting in incomplete data reading. Even if I set timeout=0.0, it still happens. How to solve this?

Virtual TS30 and solution

The last two strings in self.patterns within modules/virtual.py have each a white space to much, which prevents the creation of mock measurements.

class VirtualTotalStationTM30(VirtualSensor):
    """
    VirtualTotalStationTM30 simulates the Leica TM30 totalstation by processing
    GeoCOM commands.
    """

    def __init__(self, module_name: str, module_type: str, manager: Manager):
        super().__init__(module_name, module_type, manager)

        self.patterns = {
            '%R1Q,5003:\\r\\n': self.get_sensor_id,
            '%R1Q,5004:\\r\\n': self.get_sensor_name,
            '%R1Q,9027:(-?[0-9]*\.?[0-9]+),(-?[0-9]*\.?[0-9]+),2,1,0\\r\\n':
                self.set_direction,
            '%R1Q,2008: 1,1\\r\\n': self.measure_distance,
            '%R1Q,2167: 5000,1\\r\\n': self.do_complete_measurement
        }
`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.