Navigation

    obniz Developer's Community Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Inventor 4u
    I
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Inventor 4u

    @Inventor 4u

    0
    Reputation
    4
    Posts
    177
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online
    Website twitter.com/tmitsuoka0423

    Inventor 4u Follow

    Best posts made by Inventor 4u

    This user hasn't posted anything yet.

    Latest posts made by Inventor 4u

    • IoTホームキットの"距離センサーを使う"でセンサーの前を素早く通過させるとObnizが再起動する

      https://obniz.com/ja/doc/guides/iot-home-kit/distance
      こちらのドキュメント通りブロックを組み立て、距離センサーの前に素早く物を通過させると、Obnizが再起動する事象が発生したので共有します。
      https://photos.app.goo.gl/ctGobGNXZcW8ef6v6

      ループにwaitを1秒ほど入れると問題なく動くようになりましたので、プログラム側で回避が可能でした。

      Obniz ID:3584-4045
      OS:obnizb1 3.4.5
      発生時刻:2021/05/29 16:05頃
      コンソールエラー:

      obniz.js:15406 Uncaught (in promise) Error: pwm1 is not started
          at PeripheralPWM.pulse (VM9824 obniz.js:15406)
          at ServoMotor.angle (VM9824 obniz.js:48525)
          at IoTHomeKit.flag (VM9814 index.js:126)
          at eval (eval at <anonymous> (run?obniz_id=3584-4045:21), <anonymous>:13:18)
      pulse @ obniz.js:15406
      angle @ obniz.js:48525
      flag @ index.js:126
      eval @ VM14747:13
      async function (async)
      eval @ VM14747:6
      eval @ VM14747:17
      (anonymous) @ run?obniz_id=3584-4045:115
      Promise.then (async)
      (anonymous) @ run?obniz_id=3584-4045:106
      obniz.js:18472 WebSocket connection to 'wss://obniz.io/obniz/3584-4045/ws/1?obnizjs=3.15.1&accept_binary=true' failed: 
      CompatibleWebSocket @ obniz.js:18472
      _createCloudSocket @ obniz.js:2897
      (anonymous) @ obniz.js:2893
      _connectCloudWait @ obniz.js:2863
      tryWsConnectOnceWait @ obniz.js:2819
      tryWsConnectOnceWait @ obniz.js:4315
      (anonymous) @ obniz.js:3241
      obniz.js:18472 WebSocket connection to 'wss://obniz.io/obniz/3584-4045/ws/1?obnizjs=3.15.1&accept_binary=true' failed: 
      CompatibleWebSocket @ obniz.js:18472
      _createCloudSocket @ obniz.js:2897
      (anonymous) @ obniz.js:2893
      _connectCloudWait @ obniz.js:2863
      tryWsConnectOnceWait @ obniz.js:2819
      tryWsConnectOnceWait @ obniz.js:4315
      (anonymous) @ obniz.js:3241
      obniz.js:18472 WebSocket connection to 'wss://obniz.io/obniz/3584-4045/ws/1?obnizjs=3.15.1&accept_binary=true' failed: 
      CompatibleWebSocket @ obniz.js:18472
      _createCloudSocket @ obniz.js:2897
      (anonymous) @ obniz.js:2893
      _connectCloudWait @ obniz.js:2863
      tryWsConnectOnceWait @ obniz.js:2819
      tryWsConnectOnceWait @ obniz.js:4315
      (anonymous) @ obniz.js:3241
      obniz.js:18472 WebSocket connection to 'wss://obniz.io/obniz/3584-4045/ws/1?obnizjs=3.15.1&accept_binary=true' failed: 
      
      posted in Question and Troubles
      I
      Inventor 4u
    • RE: サーバーレスイベントのログはどこで確認できますか?

      @Yuki-Sato-0 さん
      ご丁寧な説明ありがとうございます。
      無事ログを見ることができました:)

      posted in Beginner Questions/Discussion
      I
      Inventor 4u
    • サーバーレスイベントのログはどこで確認できますか?

      https://docs.obniz.io/ja/guides/cloud/serverless-event/logs/
      を確認したらところ、

      イベントページのログ一覧より確認できます

      と記載がありますが、イベントページのログ一覧を見つけられません。
      初歩的な質問ですが、URLやスクリーンショット付きでご説明いただけますと幸いです。

      posted in Beginner Questions/Discussion
      I
      Inventor 4u
    • SHT31使用時のI2C通信エラー

      SHT31のJSパーツライブラリで、コンソール上でコードを実行すると、I2C通信関連のエラーが発生します。
      何か設定が必要なのでしょうか…?

      0_1573356158515_obniz-error.png

      なお、LEDのパーツライブラリは問題なく動作します。

      ObnizOSは最新の2.1.0です。
      よろしくお願いいたします。

      posted in Beginner Questions/Discussion
      I
      Inventor 4u