• V
    v8dave

    This is the error from the console.

    mangoUi~ngMango~ngMangoServices.js?v=f41ab677f738e8ffe5b8:39 Error: <g> attribute transform: Expected number, "rotate()".

    posted in Mango Automation general Discussion read more
  • V
    v8dave

    I found some code that Jared had posted previously for a 360 deg component and I am trying to get it to work but the value is not being shown.

    I am using the following to get the wind direction from the watch list.

    <ma-calc input="designer.points | filter:{name:'Wind Direction'}:true | maFirst" output="myDirection"></ma-calc>
    

    And then using this in the code for the display but the heading remains at 0.

        <g class="direction-cones" transform="rotate(-90)">
            <g id="north" transform="rotate({{myDirection.value}})">
                <circle class="scale-1" r="100"></circle>
                <circle class="scale-2" r="100"></circle>
            </g>
        </g>
    

    What am I doing wrong here?

    posted in Mango Automation general Discussion read more
  • V
    v8dave

    @jared-wiltshire That works for me as I only have about 20 data points per device. By using the device ID as part of the XID, and the topic, this means a simple find and replace in Excel and then save and import works.

    posted in Mango Automation general Discussion read more
  • V
    v8dave

    Here is my setup.

    I have 7 devices in the field that send data via GPRS to a server running an MQTT broker (Mosquitto). Each device sends a topic with the device identification and then the sensor reading, eg device01/pressure and the payload contains the value. Every device sends the data values and only the device ID is different for each unit.

    I am trying to work out the best way to create the data points in Mango and handle this with a drop-down selection to select each device so that the data on the screen switches to that device. I will also have an overview display for all the important sensors that will navigate to the more detailed view.

    I was thinking to create a single data point for a device and then export this to see the Excel format and then create a PC programme to generate this same format as an Excel file and then import this into Mango or is there an easier way? I could simply edit the Excel by hand but this is prone to errors. A simple software program would allow just the device ID to be input.

    What is the best way to create these data points in mango so that adding a new device is quick and doesn't require any lengthly input of data points?

    posted in Mango Automation general Discussion read more
  • V
    v8dave

    The best way I found to do this was to create a second sheet and have Mango paste the data into that and then on the first sheet you simply link to the data on the second sheet.

    See sample below. Highlight at least 2-3 rows and then in the formulas tab choose create from selection. These are now what you select in Mango. Format the columns before you upload the Excel file.

    0_1478649010748_ExcelSample.png

    posted in Mango Automation general Discussion read more
  • V
    v8dave

    Is the URL correct? On my system the dashboard appears at:

    /modules/dashboards/web/yourname/

    posted in Mango Automation general Discussion read more
  • V
    v8dave

    Just a quick update, My client finally updated the server to a 4GB memory option and for 24 hours now we have not seen any shutdowns. Previously we would see at least 5-6 in that time.

    posted in Dashboard Designer & Custom AngularJS Pages read more
  • V
    v8dave

    You can't host it on a website. They only allow HTML, PHP etc.

    You can use something like a GoDaddy Virtual Server and we do that and it works but if you do, I suggest you get the 4GB memory option as the cheapest at 1GB will give you lots of out of memory errors depending on how complex your setup is. Best to be safe.

    You can use any text editor that allows an FTP connection to allow you to edit the HTML for the dashboards etc.

    To upload and download files is simple a matter of using an FTP programme.

    posted in User help read more
  • V
    v8dave

    If the machine you are hosting Mango on does not have a FIXED IP you need to look at using DYNDNS or something similar and you need to have either the router detect the IP has changed and update the DYNDNS entry or have some software running on the server looking for the changes. Normally most modern routers have this capability built in.

    You need to setup PORT FORWARDING on your router to allow an external connection to work. Note that some ISP's block certain IP's so you may have to play around to find one that is open. 8080+ should be good in most cases.

    Your issue with the free version will be if you connect from a mobile device as they will give you a different IP each time so you will run out of IP's very quickly. The server being DYNAMIC won't be affected by this as it is the IP address of the devices connecting to the web interface that will have this issue.

    posted in User help read more
  • V
    v8dave

    I have an Excel report and I want to be able to include the data of the report in one of the cells. If I use the =TODAY() formula it will change each time the report is opened and printed.

    How can I set the cell to the data it was created?

    posted in Dashboard Designer & Custom AngularJS Pages read more