Save
Saving
  • dan dan

    It should be all running in command line.

    Maybe Java is looking for a default browser, try installing Links or Lynx
    Or if you have XWindows installed, check it has a default web browser?

    posted in Mango General read more
  • dan dan

    Weird, that's definitely the default. Make sure you're all in lowercase?

    posted in Mango Automation Installation read more
  • dan dan

    What happens if you do...

    java -version
    

    posted in Mango General read more
  • dan dan

    Hey Guys, has anyone tried pushing data from TTN (The Things Network) into a Mango instance?

    I see there is an HTTP Push type integration option from the TTN side. Likewise, there seems to be an HTTP Receiver module in Mango.

    I have managed to setup a data source with a data point on it and can update the value using httpds on the URL with dataPoint=value etc. That part works. Interested to see if anyone else has had any luck getting the two to talk.

    7bfacfe5-94fe-49e3-aea3-15c0ade42c84-image.png
    Cheers

    posted in Mango Automation general Discussion read more
  • dan dan

    Now I remember this fixed my other 2.8.8 systems. I couldn't find it for the life of me.

    Comment for searchability for next time :-P
    Cheers

    posted in User help read more
  • dan dan

    Hey mate, can the underlying host machine connect to the mail server on that port?

    Even try just...

    telnet smtp.gmail.com 587
    

    See if you get an answer similar to...

    220 smtp.gmail.com ESMTP p9sm17466733pfq.136 - gsmtp  
    

    Although it does mention TLS so 587 should be correct? Certificate error is weird.

    posted in Mango feedback read more
  • dan dan

    Thanks mate, I'll give it a go.

    posted in User help read more
  • dan dan

    Hey Guys, I'm trying to work out if there is a way to access previous values in a data point's history from the scripting data sources so I can work out flow rate from water level data point in tanks.

    0_1605745395981_59e88e1e-f71b-4b9d-ae67-6f30c6867031-image.png

    I'm thinking I should be able to look at the difference in the values and work out the flow rate in litres per hour or litres per minute, then just update a virtual data point to display it. It's probably so simple I can't see it for looking :O)

    I know PREVIOUSVALUE(datapoint) exists as I use it frequently, but is there one for say a minute ago?
    Or could I simply mirror a data point value but only update it once a minute, then just work out the flow rate by comparing the current value to the previous only.

    Cheers
    Dan

    posted in User help read more
  • dan dan

    I tried a little bit of script magic to see if it would do it at the same time, but I think still not quick enough..
    0_1595418651817_c2b6021c-e189-4a1e-8117-28a42226f4b1-image.png

    0_1595418680470_2482c105-ebe7-4717-bdf9-643997d448b8-image.png

    I guess I need to combine the two 16 bit values into one 32 bit value, then write that to the single register, which should extend to the second yeh?

    posted in User help read more
  • dan dan

    ok sweet as, thanks for that I'll give it a go

    posted in User help read more